From 3340f737d4e3a495fd301c51baf0c6cc01e637de Mon Sep 17 00:00:00 2001 From: AbmSourav Date: Tue, 4 Jan 2022 11:54:24 +0600 Subject: [PATCH] hard coded string sanitization removed --- foo-bar.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/foo-bar.php b/foo-bar.php index 766390ae..a0cf8b41 100644 --- a/foo-bar.php +++ b/foo-bar.php @@ -44,7 +44,7 @@ * Admin notice for incompatible versions of PHP. */ function _foo_bar_php_version_error() { - printf( '

%s

', esc_html( _foo_bar_php_version_text() ) ); + printf( '

%s

', _foo_bar_php_version_text() ); } /** @@ -53,5 +53,5 @@ function _foo_bar_php_version_error() { * @return string */ function _foo_bar_php_version_text() { - return esc_html__( 'Foo Bar plugin error: Your version of PHP is too old to run this plugin. You must be running PHP 5.6.20 or higher.', 'foo-bar' ); + return __( 'Foo Bar plugin error: Your version of PHP is too old to run this plugin. You must be running PHP 5.6.20 or higher.', 'foo-bar' ); }