diff --git a/plugin.php b/plugin.php
index 3e8cae54c0..5569f0cd3e 100644
--- a/plugin.php
+++ b/plugin.php
@@ -46,7 +46,7 @@ function stackable_php_requirement_activation_check() {
deactivate_plugins( basename( __FILE__ ) );
wp_die(
sprintf(
- __( '%s"Stackable" can not be activated. %s It requires PHP version 7.3.0 or higher, but PHP version %s is used on the site. Please upgrade your PHP version first ✌️ %s Back %s', STACKABLE_I18N ),
+ esc_html__( '%s"Stackable" can not be activated. %s It requires PHP version 7.3.0 or higher, but PHP version %s is used on the site. Please upgrade your PHP version first ✌️ %s Back %s', STACKABLE_I18N ),
'',
'
',
PHP_VERSION,
@@ -70,7 +70,7 @@ function stackable_php_requirement_activation_check() {
function stackable_php_requirement_notice() {
printf(
'
',
- sprintf( __( '"Stackable" requires PHP version 7.3.0 or higher, but PHP version %s is used on the site.', STACKABLE_I18N ), PHP_VERSION )
+ sprintf( esc_html__( '"Stackable" requires PHP version 7.3.0 or higher, but PHP version %s is used on the site.', STACKABLE_I18N ), PHP_VERSION )
);
}
}
@@ -131,7 +131,7 @@ function stackable_notice_gutenberg_plugin_activated() {
if ( ! $ignore ) {
printf(
'',
- sprintf( __( '%sStackable Notice%s: We noticed that the Gutenberg plugin is active! Please be aware the Gutenberg plugin is used to try out the new Block Editor features, and Stackable might not be compatible with it. Click the close button on the side to dismiss this notice.', STACKABLE_I18N ), '', '' ),
+ sprintf( esc_html__( '%sStackable Notice%s: We noticed that the Gutenberg plugin is active! Please be aware the Gutenberg plugin is used to try out the new Block Editor features, and Stackable might not be compatible with it. Click the close button on the side to dismiss this notice.', STACKABLE_I18N ), '', '' ),
'