From 26f9d4ba3421bd123f9c7b447e162848cf8e27f2 Mon Sep 17 00:00:00 2001
From: Denise Stamatov ' . wp_kses_post( $message ) . ' ' . wp_kses_post( $message ) . ' ' . wp_kses_post( $message ) . ' ' . wp_kses_post( $message ) . ' ' . wp_kses_post( $message ) . ' Validating against blocked plugins… This plugin is not supported on our Managed WordPress platform. Full list of blocked plugins. ' . wp_kses_post( $message ) . ' ' . wp_kses_post( __( $message, 'stretch-extra' ) ) . ' Validating against blocked plugins… ' . esc_html__( 'Validating against blocked plugins…', 'stretch-extra' ) . ' This plugin is not supported on our Managed WordPress platform. Full list of blocked plugins. ' . sprintf(
+ /* translators: %s: link to blocked plugins list */
+ __( 'This plugin is not supported on our Managed WordPress platform. %s', 'stretch-extra' ),
+ '' . __( 'Full list of blocked plugins', 'stretch-extra' ) . ''
+ ) . ' ' . wp_kses_post( __( $message, 'stretch-extra' ) ) . ' ' . wp_kses_post(
+ __($message, 'stretch-extra')
+ ) . ' ' . esc_html__( 'Validating against blocked plugins…', 'stretch-extra' ) . ' ' . sprintf(
- /* translators: %s: link to blocked plugins list */
- __( 'This plugin is not supported on our Managed WordPress platform. %s', 'stretch-extra' ),
- '' . __( 'Full list of blocked plugins', 'stretch-extra' ) . ''
- ) . ' ' . esc_html__(
+ 'Validating against blocked plugins…',
+ 'stretch-extra'
+ ) . ' ' . sprintf(
+ /* translators: %s: link to blocked plugins list */
+ __('This plugin is not supported on our Managed WordPress platform. %s', 'stretch-extra'),
+ '' . __('Full list of blocked plugins', 'stretch-extra') . ''
+ ) . ' ' . sprintf(
- /* translators: %s: link to blocked plugins list */
- __('This plugin is not supported on our Managed WordPress platform. %s', 'stretch-extra'),
- '' . __('Full list of blocked plugins', 'stretch-extra') . ''
- ) . ' ' . sprintf(
+ /* translators: %s: link to blocked plugins list */
+ __('This plugin is not supported on our Managed WordPress platform. %s', 'stretch-extra'),
+ '' . __('Full list of blocked plugins', 'stretch-extra') . ''
+ ) . 'bwp-minify/bwp-minify.php.',
+ 'e-mail-broadcasting/e-mail-broadcasting.php' => 'The use of "E-Mail Broadcasting" is not allowed.',
+ 'send-email-from-admin/send-email-from-admin.php' => 'The use of "Send Email From Admin" is not allowed.',
+ 'mailit/mailit.php' => 'The use of "Mail It!" is not allowed.',
+ 'nginx-helper/nginx-helper.php' => 'The use of Nginx Helper can interfere with caching, which is automatically provided for this site. Nginx Helper has been deactivated.',
+ 'stopbadbots/stopbadbots.php' => 'The use of Stop Bad Bots is not allowed.',
+ 'w3-total-cache/w3-total-cache.php' => 'The use of W3 Total Cache can interfere with caching, which is automatically provided for this site. W3 Total Cache has been deactivated.',
+ 'wp-fastest-cache/wpFastestCache.php' => 'The use of WP Fastest Cache can interfere with caching, which is automatically provided for this site. WP Fastest Cache has been deactivated.',
+ 'wp-super-cache/wp-cache.php' => 'The use of WP Super Cache can interfere with caching, which is automatically provided for this site. WP Super Cache has been deactivated.',
+ 'wp-rest-api-log/wp-rest-api-log.php' => 'WP REST API Log inflates post table size beyond normal usage levels.',
+ 'website-file-changes-monitor/website-file-changes-monitor.php' => 'Melapress File Monitor inflates the options table size beyond normal usage levels.',
+ ];
+}
+/**
+ * Disable install button for disallowed plugins
+ */
function disable_plugin_install_link( $action_links, $plugin ) {
+ $disallowed = get_disallowed_plugins();
- // Check secondary plugins
- if ( function_exists( 'get_all_custom_plugins' ) ) {
- $disallowed_plugins = get_all_custom_plugins();
- } else {
- $disallowed_plugins = [];
- }
-
- // Extra disallowed slugs
- $extra_disallowed_plugins = [
- 'bwp-minify',
- 'e-mail-broadcasting',
- 'send-email-from-admin',
- 'mailit',
- 'nginx-helper',
- 'stopbadbots',
- 'w3-total-cache',
- 'wp-fastest-cache',
- 'wp-super-cache',
- 'wp-rest-api-log',
- 'website-file-changes-monitor'
- ];
-
- $all_disallowed = array_merge( array_keys( $disallowed_plugins ), $extra_disallowed_plugins );
+ // Compare using slug (derived from plugin file keys)
+ $disallowed_slugs = array_map( 'dirname', array_keys( $disallowed ) );
- // Check if this plugin is in the list
- if ( in_array( $plugin['slug'], $all_disallowed, true ) ) {
+ if ( in_array( $plugin['slug'], $disallowed_slugs, true ) ) {
return [
'Not Supported'
];
@@ -37,4 +37,49 @@ function disable_plugin_install_link( $action_links, $plugin ) {
return $action_links;
}
-add_filter( 'plugin_install_action_links', 'disable_plugin_install_link', 0, 2 );
\ No newline at end of file
+/**
+ * Disable activate button for disallowed plugins
+ */
+function disable_plugin_activate_link( $actions, $plugin_file ) {
+ $disallowed = get_disallowed_plugins();
+
+ if ( isset( $actions['activate'] ) && array_key_exists( $plugin_file, $disallowed ) ) {
+ $actions['activate'] = 'Disabled';
+ unset( $actions['edit'] );
+ }
+
+ return $actions;
+}
+
+/**
+ * Deactivate disallowed plugins if they are active
+ */
+function deactivate_disallowed_plugins() {
+ $disallowed = get_disallowed_plugins();
+ $messages = [];
+
+ foreach ( $disallowed as $plugin_file => $message ) {
+ if ( ! is_plugin_active( $plugin_file ) ) {
+ continue;
+ }
+
+ deactivate_plugins( $plugin_file );
+ $messages[] = $message;
+ }
+
+ if ( ! empty( $messages ) ) {
+ add_action( 'admin_notices', function() use ( $messages ) {
+ foreach ( $messages as $message ) {
+ echo 'bwp-minify/bwp-minify.php.',
- 'e-mail-broadcasting/e-mail-broadcasting.php' => 'The use of "E-Mail Broadcasting" is not allowed.',
- 'send-email-from-admin/send-email-from-admin.php' => 'The use of "Send Email From Admin" is not allowed.',
- 'mailit/mailit.php' => 'The use of "Mail It!" is not allowed.',
- 'nginx-helper/nginx-helper.php' => 'The use of Nginx Helper can interfere with caching, which is automatically provided for this site. Nginx Helper has been deactivated.',
- 'stopbadbots/stopbadbots.php' => 'The use of Stop Bad Bots is not allowed.',
- 'w3-total-cache/w3-total-cache.php' => 'The use of W3 Total Cache can interfere with caching, which is automatically provided for this site. W3 Total Cache has been deactivated.',
- 'wp-fastest-cache/wpFastestCache.php' => 'The use of WP Fastest Cache can interfere with caching, which is automatically provided for this site. WP Fastest Cache has been deactivated.',
- 'wp-super-cache/wp-cache.php' => 'The use of WP Super Cache can interfere with caching, which is automatically provided for this site. WP Super Cache has been deactivated.',
- 'wp-rest-api-log/wp-rest-api-log.php' => 'WP REST API Log inflates post table size beyond normal usage levels.',
- 'website-file-changes-monitor/website-file-changes-monitor.php' => 'Melapress File Monitor inflates the options table size beyond normal usage levels.',
+ 'bwp-minify/bwp-minify.php' => __( 'BWP Minify (as of 1.3.3) is not ready for use. The plugin writes a configuration file that must be edited manually to support plugins and themes installed via symlinks. Because it breaks sites upon activation, we have automatically deactivated the plugin to keep your site working. In the interest of making BWP Minify compatible, we provided this patch to the author in May 2016. If you choose to fix the configuration file yourself, you may skip the automatic deactivation by renaming bwp-minify/bwp-minify.php.', 'stretch-extra' ),
+ 'e-mail-broadcasting/e-mail-broadcasting.php' => __( 'The use of "E-Mail Broadcasting" is not allowed.', 'stretch-extra' ),
+ 'send-email-from-admin/send-email-from-admin.php' => __( 'The use of "Send Email From Admin" is not allowed.', 'stretch-extra' ),
+ 'mailit/mailit.php' => __( 'The use of "Mail It!" is not allowed.', 'stretch-extra' ),
+ 'nginx-helper/nginx-helper.php' => __( 'The use of Nginx Helper can interfere with caching, which is automatically provided for this site. Nginx Helper has been deactivated.', 'stretch-extra' ),
+ 'stopbadbots/stopbadbots.php' => __( 'The use of Stop Bad Bots is not allowed.', 'stretch-extra' ),
+ 'w3-total-cache/w3-total-cache.php' => __( 'The use of W3 Total Cache can interfere with caching, which is automatically provided for this site. W3 Total Cache has been deactivated.', 'stretch-extra' ),
+ 'wp-fastest-cache/wpFastestCache.php' => __( 'The use of WP Fastest Cache can interfere with caching, which is automatically provided for this site. WP Fastest Cache has been deactivated.', 'stretch-extra' ),
+ 'wp-super-cache/wp-cache.php' => __( 'The use of WP Super Cache can interfere with caching, which is automatically provided for this site. WP Super Cache has been deactivated.', 'stretch-extra' ),
+ 'wp-rest-api-log/wp-rest-api-log.php' => __( 'WP REST API Log inflates post table size beyond normal usage levels.', 'stretch-extra' ),
+ 'website-file-changes-monitor/website-file-changes-monitor.php' => __( 'Melapress File Monitor inflates the options table size beyond normal usage levels.', 'stretch-extra' ),
];
}
@@ -30,7 +30,7 @@ function disable_plugin_install_link( $action_links, $plugin ) {
if ( in_array( $plugin['slug'], $disallowed_slugs, true ) ) {
return [
- 'Not Supported'
+ '' . __( 'Not Supported', 'stretch-extra' ) . ''
];
}
@@ -45,7 +45,7 @@ function disable_plugin_activate_link( $actions, $plugin_file ) {
$disallowed = get_disallowed_plugins();
if ( isset( $actions['activate'] ) && array_key_exists( $plugin_file, $disallowed ) ) {
- $actions['activate'] = 'Disabled';
+ $actions['activate'] = __( 'Disabled', 'stretch-extra' );
unset( $actions['edit'] );
}
@@ -63,14 +63,13 @@ function deactivate_disallowed_plugins() {
if ( is_plugin_active( $plugin_file ) ) {
deactivate_plugins( $plugin_file );
add_action( 'admin_notices', function() use ( $message ) {
- echo 'bwp-minify/bwp-minify.php."
+msgstr ""
+
+#: stretch-extra/inc/plugin-block-list/plugin-block-list.php
+msgid "The use of \"E-Mail Broadcasting\" is not allowed."
+msgstr ""
+
+#: stretch-extra/inc/plugin-block-list/plugin-block-list.php
+msgid "The use of \"Send Email From Admin\" is not allowed."
+msgstr ""
+
+#: stretch-extra/inc/plugin-block-list/plugin-block-list.php
+msgid "The use of \"Mail It!\" is not allowed."
+msgstr ""
+
+#: stretch-extra/inc/plugin-block-list/plugin-block-list.php
+msgid "The use of Nginx Helper can interfere with caching, which is automatically provided for this site. Nginx Helper has been deactivated."
+msgstr ""
+
+#: stretch-extra/inc/plugin-block-list/plugin-block-list.php
+msgid "The use of Stop Bad Bots is not allowed."
+msgstr ""
+
+#: stretch-extra/inc/plugin-block-list/plugin-block-list.php
+msgid "The use of W3 Total Cache can interfere with caching, which is automatically provided for this site. W3 Total Cache has been deactivated."
+msgstr ""
+
+#: stretch-extra/inc/plugin-block-list/plugin-block-list.php
+msgid "The use of WP Fastest Cache can interfere with caching, which is automatically provided for this site. WP Fastest Cache has been deactivated."
+msgstr ""
+
+#: stretch-extra/inc/plugin-block-list/plugin-block-list.php
+msgid "The use of WP Super Cache can interfere with caching, which is automatically provided for this site. WP Super Cache has been deactivated."
+msgstr ""
+
+#: stretch-extra/inc/plugin-block-list/plugin-block-list.php
+msgid "WP REST API Log inflates post table size beyond normal usage levels."
+msgstr ""
+
+#: stretch-extra/inc/plugin-block-list/plugin-block-list.php
+msgid "Melapress File Monitor inflates the options table size beyond normal usage levels."
+msgstr ""
+
+#: stretch-extra/inc/plugin-block-list/plugin-block-list.php
+msgid "Not Supported"
+msgstr ""
+
+#: stretch-extra/inc/plugin-block-list/plugin-block-list.php
+msgid "Disabled"
+msgstr ""
+
+#: stretch-extra/inc/plugin-block-list/plugin-block-list.php
+msgid "Validating against blocked plugins…"
+msgstr ""
+
+#. translators: %s: link to blocked plugins list
+#: stretch-extra/inc/plugin-block-list/plugin-block-list.php
+#, php-format
+msgid "This plugin is not supported on our Managed WordPress platform. %s"
+msgstr ""
+
+#: stretch-extra/inc/plugin-block-list/plugin-block-list.php
+msgid "Full list of blocked plugins"
+msgstr ""
diff --git a/packages/wp-mu-plugin/stretch-extra/stretch-extra/languages/stretch-extra-en_US.po b/packages/wp-mu-plugin/stretch-extra/stretch-extra/languages/stretch-extra-en_US.po
index bf624f30c..64346ec09 100644
--- a/packages/wp-mu-plugin/stretch-extra/stretch-extra/languages/stretch-extra-en_US.po
+++ b/packages/wp-mu-plugin/stretch-extra/stretch-extra/languages/stretch-extra-en_US.po
@@ -62,3 +62,69 @@ msgstr ""
#: stretch-extra/inc/marketplace/config.php
msgid "Provides guided onboarding and a Site Assistant in the WordPress admin."
msgstr ""
+
+#: stretch-extra/inc/plugin-block-list/plugin-block-list.php
+msgid "BWP Minify (as of 1.3.3) is not ready for use. The plugin writes a configuration file that must be edited manually to support plugins and themes installed via symlinks. Because it breaks sites upon activation, we have automatically deactivated the plugin to keep your site working. In the interest of making BWP Minify compatible, we provided this patch to the author in May 2016. If you choose to fix the configuration file yourself, you may skip the automatic deactivation by renaming bwp-minify/bwp-minify.php."
+msgstr ""
+
+#: stretch-extra/inc/plugin-block-list/plugin-block-list.php
+msgid "The use of \"E-Mail Broadcasting\" is not allowed."
+msgstr ""
+
+#: stretch-extra/inc/plugin-block-list/plugin-block-list.php
+msgid "The use of \"Send Email From Admin\" is not allowed."
+msgstr ""
+
+#: stretch-extra/inc/plugin-block-list/plugin-block-list.php
+msgid "The use of \"Mail It!\" is not allowed."
+msgstr ""
+
+#: stretch-extra/inc/plugin-block-list/plugin-block-list.php
+msgid "The use of Nginx Helper can interfere with caching, which is automatically provided for this site. Nginx Helper has been deactivated."
+msgstr ""
+
+#: stretch-extra/inc/plugin-block-list/plugin-block-list.php
+msgid "The use of Stop Bad Bots is not allowed."
+msgstr ""
+
+#: stretch-extra/inc/plugin-block-list/plugin-block-list.php
+msgid "The use of W3 Total Cache can interfere with caching, which is automatically provided for this site. W3 Total Cache has been deactivated."
+msgstr ""
+
+#: stretch-extra/inc/plugin-block-list/plugin-block-list.php
+msgid "The use of WP Fastest Cache can interfere with caching, which is automatically provided for this site. WP Fastest Cache has been deactivated."
+msgstr ""
+
+#: stretch-extra/inc/plugin-block-list/plugin-block-list.php
+msgid "The use of WP Super Cache can interfere with caching, which is automatically provided for this site. WP Super Cache has been deactivated."
+msgstr ""
+
+#: stretch-extra/inc/plugin-block-list/plugin-block-list.php
+msgid "WP REST API Log inflates post table size beyond normal usage levels."
+msgstr ""
+
+#: stretch-extra/inc/plugin-block-list/plugin-block-list.php
+msgid "Melapress File Monitor inflates the options table size beyond normal usage levels."
+msgstr ""
+
+#: stretch-extra/inc/plugin-block-list/plugin-block-list.php
+msgid "Not Supported"
+msgstr ""
+
+#: stretch-extra/inc/plugin-block-list/plugin-block-list.php
+msgid "Disabled"
+msgstr ""
+
+#: stretch-extra/inc/plugin-block-list/plugin-block-list.php
+msgid "Validating against blocked plugins…"
+msgstr ""
+
+#. translators: %s: link to blocked plugins list
+#: stretch-extra/inc/plugin-block-list/plugin-block-list.php
+#, php-format
+msgid "This plugin is not supported on our Managed WordPress platform. %s"
+msgstr ""
+
+#: stretch-extra/inc/plugin-block-list/plugin-block-list.php
+msgid "Full list of blocked plugins"
+msgstr ""
diff --git a/packages/wp-mu-plugin/stretch-extra/stretch-extra/languages/stretch-extra-es_ES.po b/packages/wp-mu-plugin/stretch-extra/stretch-extra/languages/stretch-extra-es_ES.po
index 7f3f44208..0678e6c04 100644
--- a/packages/wp-mu-plugin/stretch-extra/stretch-extra/languages/stretch-extra-es_ES.po
+++ b/packages/wp-mu-plugin/stretch-extra/stretch-extra/languages/stretch-extra-es_ES.po
@@ -62,3 +62,69 @@ msgstr ""
#: stretch-extra/inc/marketplace/config.php
msgid "Provides guided onboarding and a Site Assistant in the WordPress admin."
msgstr ""
+
+#: stretch-extra/inc/plugin-block-list/plugin-block-list.php
+msgid "BWP Minify (as of 1.3.3) is not ready for use. The plugin writes a configuration file that must be edited manually to support plugins and themes installed via symlinks. Because it breaks sites upon activation, we have automatically deactivated the plugin to keep your site working. In the interest of making BWP Minify compatible, we provided this patch to the author in May 2016. If you choose to fix the configuration file yourself, you may skip the automatic deactivation by renaming bwp-minify/bwp-minify.php."
+msgstr ""
+
+#: stretch-extra/inc/plugin-block-list/plugin-block-list.php
+msgid "The use of \"E-Mail Broadcasting\" is not allowed."
+msgstr ""
+
+#: stretch-extra/inc/plugin-block-list/plugin-block-list.php
+msgid "The use of \"Send Email From Admin\" is not allowed."
+msgstr ""
+
+#: stretch-extra/inc/plugin-block-list/plugin-block-list.php
+msgid "The use of \"Mail It!\" is not allowed."
+msgstr ""
+
+#: stretch-extra/inc/plugin-block-list/plugin-block-list.php
+msgid "The use of Nginx Helper can interfere with caching, which is automatically provided for this site. Nginx Helper has been deactivated."
+msgstr ""
+
+#: stretch-extra/inc/plugin-block-list/plugin-block-list.php
+msgid "The use of Stop Bad Bots is not allowed."
+msgstr ""
+
+#: stretch-extra/inc/plugin-block-list/plugin-block-list.php
+msgid "The use of W3 Total Cache can interfere with caching, which is automatically provided for this site. W3 Total Cache has been deactivated."
+msgstr ""
+
+#: stretch-extra/inc/plugin-block-list/plugin-block-list.php
+msgid "The use of WP Fastest Cache can interfere with caching, which is automatically provided for this site. WP Fastest Cache has been deactivated."
+msgstr ""
+
+#: stretch-extra/inc/plugin-block-list/plugin-block-list.php
+msgid "The use of WP Super Cache can interfere with caching, which is automatically provided for this site. WP Super Cache has been deactivated."
+msgstr ""
+
+#: stretch-extra/inc/plugin-block-list/plugin-block-list.php
+msgid "WP REST API Log inflates post table size beyond normal usage levels."
+msgstr ""
+
+#: stretch-extra/inc/plugin-block-list/plugin-block-list.php
+msgid "Melapress File Monitor inflates the options table size beyond normal usage levels."
+msgstr ""
+
+#: stretch-extra/inc/plugin-block-list/plugin-block-list.php
+msgid "Not Supported"
+msgstr ""
+
+#: stretch-extra/inc/plugin-block-list/plugin-block-list.php
+msgid "Disabled"
+msgstr ""
+
+#: stretch-extra/inc/plugin-block-list/plugin-block-list.php
+msgid "Validating against blocked plugins…"
+msgstr ""
+
+#. translators: %s: link to blocked plugins list
+#: stretch-extra/inc/plugin-block-list/plugin-block-list.php
+#, php-format
+msgid "This plugin is not supported on our Managed WordPress platform. %s"
+msgstr ""
+
+#: stretch-extra/inc/plugin-block-list/plugin-block-list.php
+msgid "Full list of blocked plugins"
+msgstr ""
diff --git a/packages/wp-mu-plugin/stretch-extra/stretch-extra/languages/stretch-extra-es_MX.po b/packages/wp-mu-plugin/stretch-extra/stretch-extra/languages/stretch-extra-es_MX.po
index e3c31daf1..f0a7c8b46 100644
--- a/packages/wp-mu-plugin/stretch-extra/stretch-extra/languages/stretch-extra-es_MX.po
+++ b/packages/wp-mu-plugin/stretch-extra/stretch-extra/languages/stretch-extra-es_MX.po
@@ -62,3 +62,69 @@ msgstr ""
#: stretch-extra/inc/marketplace/config.php
msgid "Provides guided onboarding and a Site Assistant in the WordPress admin."
msgstr ""
+
+#: stretch-extra/inc/plugin-block-list/plugin-block-list.php
+msgid "BWP Minify (as of 1.3.3) is not ready for use. The plugin writes a configuration file that must be edited manually to support plugins and themes installed via symlinks. Because it breaks sites upon activation, we have automatically deactivated the plugin to keep your site working. In the interest of making BWP Minify compatible, we provided this patch to the author in May 2016. If you choose to fix the configuration file yourself, you may skip the automatic deactivation by renaming bwp-minify/bwp-minify.php."
+msgstr ""
+
+#: stretch-extra/inc/plugin-block-list/plugin-block-list.php
+msgid "The use of \"E-Mail Broadcasting\" is not allowed."
+msgstr ""
+
+#: stretch-extra/inc/plugin-block-list/plugin-block-list.php
+msgid "The use of \"Send Email From Admin\" is not allowed."
+msgstr ""
+
+#: stretch-extra/inc/plugin-block-list/plugin-block-list.php
+msgid "The use of \"Mail It!\" is not allowed."
+msgstr ""
+
+#: stretch-extra/inc/plugin-block-list/plugin-block-list.php
+msgid "The use of Nginx Helper can interfere with caching, which is automatically provided for this site. Nginx Helper has been deactivated."
+msgstr ""
+
+#: stretch-extra/inc/plugin-block-list/plugin-block-list.php
+msgid "The use of Stop Bad Bots is not allowed."
+msgstr ""
+
+#: stretch-extra/inc/plugin-block-list/plugin-block-list.php
+msgid "The use of W3 Total Cache can interfere with caching, which is automatically provided for this site. W3 Total Cache has been deactivated."
+msgstr ""
+
+#: stretch-extra/inc/plugin-block-list/plugin-block-list.php
+msgid "The use of WP Fastest Cache can interfere with caching, which is automatically provided for this site. WP Fastest Cache has been deactivated."
+msgstr ""
+
+#: stretch-extra/inc/plugin-block-list/plugin-block-list.php
+msgid "The use of WP Super Cache can interfere with caching, which is automatically provided for this site. WP Super Cache has been deactivated."
+msgstr ""
+
+#: stretch-extra/inc/plugin-block-list/plugin-block-list.php
+msgid "WP REST API Log inflates post table size beyond normal usage levels."
+msgstr ""
+
+#: stretch-extra/inc/plugin-block-list/plugin-block-list.php
+msgid "Melapress File Monitor inflates the options table size beyond normal usage levels."
+msgstr ""
+
+#: stretch-extra/inc/plugin-block-list/plugin-block-list.php
+msgid "Not Supported"
+msgstr ""
+
+#: stretch-extra/inc/plugin-block-list/plugin-block-list.php
+msgid "Disabled"
+msgstr ""
+
+#: stretch-extra/inc/plugin-block-list/plugin-block-list.php
+msgid "Validating against blocked plugins…"
+msgstr ""
+
+#. translators: %s: link to blocked plugins list
+#: stretch-extra/inc/plugin-block-list/plugin-block-list.php
+#, php-format
+msgid "This plugin is not supported on our Managed WordPress platform. %s"
+msgstr ""
+
+#: stretch-extra/inc/plugin-block-list/plugin-block-list.php
+msgid "Full list of blocked plugins"
+msgstr ""
diff --git a/packages/wp-mu-plugin/stretch-extra/stretch-extra/languages/stretch-extra-fr_FR.po b/packages/wp-mu-plugin/stretch-extra/stretch-extra/languages/stretch-extra-fr_FR.po
index c91094fa2..e54f32210 100644
--- a/packages/wp-mu-plugin/stretch-extra/stretch-extra/languages/stretch-extra-fr_FR.po
+++ b/packages/wp-mu-plugin/stretch-extra/stretch-extra/languages/stretch-extra-fr_FR.po
@@ -62,3 +62,69 @@ msgstr ""
#: stretch-extra/inc/marketplace/config.php
msgid "Provides guided onboarding and a Site Assistant in the WordPress admin."
msgstr ""
+
+#: stretch-extra/inc/plugin-block-list/plugin-block-list.php
+msgid "BWP Minify (as of 1.3.3) is not ready for use. The plugin writes a configuration file that must be edited manually to support plugins and themes installed via symlinks. Because it breaks sites upon activation, we have automatically deactivated the plugin to keep your site working. In the interest of making BWP Minify compatible, we provided this patch to the author in May 2016. If you choose to fix the configuration file yourself, you may skip the automatic deactivation by renaming bwp-minify/bwp-minify.php."
+msgstr ""
+
+#: stretch-extra/inc/plugin-block-list/plugin-block-list.php
+msgid "The use of \"E-Mail Broadcasting\" is not allowed."
+msgstr ""
+
+#: stretch-extra/inc/plugin-block-list/plugin-block-list.php
+msgid "The use of \"Send Email From Admin\" is not allowed."
+msgstr ""
+
+#: stretch-extra/inc/plugin-block-list/plugin-block-list.php
+msgid "The use of \"Mail It!\" is not allowed."
+msgstr ""
+
+#: stretch-extra/inc/plugin-block-list/plugin-block-list.php
+msgid "The use of Nginx Helper can interfere with caching, which is automatically provided for this site. Nginx Helper has been deactivated."
+msgstr ""
+
+#: stretch-extra/inc/plugin-block-list/plugin-block-list.php
+msgid "The use of Stop Bad Bots is not allowed."
+msgstr ""
+
+#: stretch-extra/inc/plugin-block-list/plugin-block-list.php
+msgid "The use of W3 Total Cache can interfere with caching, which is automatically provided for this site. W3 Total Cache has been deactivated."
+msgstr ""
+
+#: stretch-extra/inc/plugin-block-list/plugin-block-list.php
+msgid "The use of WP Fastest Cache can interfere with caching, which is automatically provided for this site. WP Fastest Cache has been deactivated."
+msgstr ""
+
+#: stretch-extra/inc/plugin-block-list/plugin-block-list.php
+msgid "The use of WP Super Cache can interfere with caching, which is automatically provided for this site. WP Super Cache has been deactivated."
+msgstr ""
+
+#: stretch-extra/inc/plugin-block-list/plugin-block-list.php
+msgid "WP REST API Log inflates post table size beyond normal usage levels."
+msgstr ""
+
+#: stretch-extra/inc/plugin-block-list/plugin-block-list.php
+msgid "Melapress File Monitor inflates the options table size beyond normal usage levels."
+msgstr ""
+
+#: stretch-extra/inc/plugin-block-list/plugin-block-list.php
+msgid "Not Supported"
+msgstr ""
+
+#: stretch-extra/inc/plugin-block-list/plugin-block-list.php
+msgid "Disabled"
+msgstr ""
+
+#: stretch-extra/inc/plugin-block-list/plugin-block-list.php
+msgid "Validating against blocked plugins…"
+msgstr ""
+
+#. translators: %s: link to blocked plugins list
+#: stretch-extra/inc/plugin-block-list/plugin-block-list.php
+#, php-format
+msgid "This plugin is not supported on our Managed WordPress platform. %s"
+msgstr ""
+
+#: stretch-extra/inc/plugin-block-list/plugin-block-list.php
+msgid "Full list of blocked plugins"
+msgstr ""
diff --git a/packages/wp-mu-plugin/stretch-extra/stretch-extra/languages/stretch-extra-it_IT.po b/packages/wp-mu-plugin/stretch-extra/stretch-extra/languages/stretch-extra-it_IT.po
index 862973c17..b3fdf2141 100644
--- a/packages/wp-mu-plugin/stretch-extra/stretch-extra/languages/stretch-extra-it_IT.po
+++ b/packages/wp-mu-plugin/stretch-extra/stretch-extra/languages/stretch-extra-it_IT.po
@@ -62,3 +62,69 @@ msgstr ""
#: stretch-extra/inc/marketplace/config.php
msgid "Provides guided onboarding and a Site Assistant in the WordPress admin."
msgstr ""
+
+#: stretch-extra/inc/plugin-block-list/plugin-block-list.php
+msgid "BWP Minify (as of 1.3.3) is not ready for use. The plugin writes a configuration file that must be edited manually to support plugins and themes installed via symlinks. Because it breaks sites upon activation, we have automatically deactivated the plugin to keep your site working. In the interest of making BWP Minify compatible, we provided this patch to the author in May 2016. If you choose to fix the configuration file yourself, you may skip the automatic deactivation by renaming bwp-minify/bwp-minify.php."
+msgstr ""
+
+#: stretch-extra/inc/plugin-block-list/plugin-block-list.php
+msgid "The use of \"E-Mail Broadcasting\" is not allowed."
+msgstr ""
+
+#: stretch-extra/inc/plugin-block-list/plugin-block-list.php
+msgid "The use of \"Send Email From Admin\" is not allowed."
+msgstr ""
+
+#: stretch-extra/inc/plugin-block-list/plugin-block-list.php
+msgid "The use of \"Mail It!\" is not allowed."
+msgstr ""
+
+#: stretch-extra/inc/plugin-block-list/plugin-block-list.php
+msgid "The use of Nginx Helper can interfere with caching, which is automatically provided for this site. Nginx Helper has been deactivated."
+msgstr ""
+
+#: stretch-extra/inc/plugin-block-list/plugin-block-list.php
+msgid "The use of Stop Bad Bots is not allowed."
+msgstr ""
+
+#: stretch-extra/inc/plugin-block-list/plugin-block-list.php
+msgid "The use of W3 Total Cache can interfere with caching, which is automatically provided for this site. W3 Total Cache has been deactivated."
+msgstr ""
+
+#: stretch-extra/inc/plugin-block-list/plugin-block-list.php
+msgid "The use of WP Fastest Cache can interfere with caching, which is automatically provided for this site. WP Fastest Cache has been deactivated."
+msgstr ""
+
+#: stretch-extra/inc/plugin-block-list/plugin-block-list.php
+msgid "The use of WP Super Cache can interfere with caching, which is automatically provided for this site. WP Super Cache has been deactivated."
+msgstr ""
+
+#: stretch-extra/inc/plugin-block-list/plugin-block-list.php
+msgid "WP REST API Log inflates post table size beyond normal usage levels."
+msgstr ""
+
+#: stretch-extra/inc/plugin-block-list/plugin-block-list.php
+msgid "Melapress File Monitor inflates the options table size beyond normal usage levels."
+msgstr ""
+
+#: stretch-extra/inc/plugin-block-list/plugin-block-list.php
+msgid "Not Supported"
+msgstr ""
+
+#: stretch-extra/inc/plugin-block-list/plugin-block-list.php
+msgid "Disabled"
+msgstr ""
+
+#: stretch-extra/inc/plugin-block-list/plugin-block-list.php
+msgid "Validating against blocked plugins…"
+msgstr ""
+
+#. translators: %s: link to blocked plugins list
+#: stretch-extra/inc/plugin-block-list/plugin-block-list.php
+#, php-format
+msgid "This plugin is not supported on our Managed WordPress platform. %s"
+msgstr ""
+
+#: stretch-extra/inc/plugin-block-list/plugin-block-list.php
+msgid "Full list of blocked plugins"
+msgstr ""
diff --git a/packages/wp-mu-plugin/stretch-extra/stretch-extra/languages/stretch-extra-nl_NL.po b/packages/wp-mu-plugin/stretch-extra/stretch-extra/languages/stretch-extra-nl_NL.po
index f8f1fe0b0..7da5a46b0 100644
--- a/packages/wp-mu-plugin/stretch-extra/stretch-extra/languages/stretch-extra-nl_NL.po
+++ b/packages/wp-mu-plugin/stretch-extra/stretch-extra/languages/stretch-extra-nl_NL.po
@@ -62,3 +62,69 @@ msgstr ""
#: stretch-extra/inc/marketplace/config.php
msgid "Provides guided onboarding and a Site Assistant in the WordPress admin."
msgstr ""
+
+#: stretch-extra/inc/plugin-block-list/plugin-block-list.php
+msgid "BWP Minify (as of 1.3.3) is not ready for use. The plugin writes a configuration file that must be edited manually to support plugins and themes installed via symlinks. Because it breaks sites upon activation, we have automatically deactivated the plugin to keep your site working. In the interest of making BWP Minify compatible, we provided this patch to the author in May 2016. If you choose to fix the configuration file yourself, you may skip the automatic deactivation by renaming bwp-minify/bwp-minify.php."
+msgstr ""
+
+#: stretch-extra/inc/plugin-block-list/plugin-block-list.php
+msgid "The use of \"E-Mail Broadcasting\" is not allowed."
+msgstr ""
+
+#: stretch-extra/inc/plugin-block-list/plugin-block-list.php
+msgid "The use of \"Send Email From Admin\" is not allowed."
+msgstr ""
+
+#: stretch-extra/inc/plugin-block-list/plugin-block-list.php
+msgid "The use of \"Mail It!\" is not allowed."
+msgstr ""
+
+#: stretch-extra/inc/plugin-block-list/plugin-block-list.php
+msgid "The use of Nginx Helper can interfere with caching, which is automatically provided for this site. Nginx Helper has been deactivated."
+msgstr ""
+
+#: stretch-extra/inc/plugin-block-list/plugin-block-list.php
+msgid "The use of Stop Bad Bots is not allowed."
+msgstr ""
+
+#: stretch-extra/inc/plugin-block-list/plugin-block-list.php
+msgid "The use of W3 Total Cache can interfere with caching, which is automatically provided for this site. W3 Total Cache has been deactivated."
+msgstr ""
+
+#: stretch-extra/inc/plugin-block-list/plugin-block-list.php
+msgid "The use of WP Fastest Cache can interfere with caching, which is automatically provided for this site. WP Fastest Cache has been deactivated."
+msgstr ""
+
+#: stretch-extra/inc/plugin-block-list/plugin-block-list.php
+msgid "The use of WP Super Cache can interfere with caching, which is automatically provided for this site. WP Super Cache has been deactivated."
+msgstr ""
+
+#: stretch-extra/inc/plugin-block-list/plugin-block-list.php
+msgid "WP REST API Log inflates post table size beyond normal usage levels."
+msgstr ""
+
+#: stretch-extra/inc/plugin-block-list/plugin-block-list.php
+msgid "Melapress File Monitor inflates the options table size beyond normal usage levels."
+msgstr ""
+
+#: stretch-extra/inc/plugin-block-list/plugin-block-list.php
+msgid "Not Supported"
+msgstr ""
+
+#: stretch-extra/inc/plugin-block-list/plugin-block-list.php
+msgid "Disabled"
+msgstr ""
+
+#: stretch-extra/inc/plugin-block-list/plugin-block-list.php
+msgid "Validating against blocked plugins…"
+msgstr ""
+
+#. translators: %s: link to blocked plugins list
+#: stretch-extra/inc/plugin-block-list/plugin-block-list.php
+#, php-format
+msgid "This plugin is not supported on our Managed WordPress platform. %s"
+msgstr ""
+
+#: stretch-extra/inc/plugin-block-list/plugin-block-list.php
+msgid "Full list of blocked plugins"
+msgstr ""
diff --git a/packages/wp-mu-plugin/stretch-extra/stretch-extra/languages/stretch-extra-sv_SE.po b/packages/wp-mu-plugin/stretch-extra/stretch-extra/languages/stretch-extra-sv_SE.po
index 0b5c86c3b..d89ec9751 100644
--- a/packages/wp-mu-plugin/stretch-extra/stretch-extra/languages/stretch-extra-sv_SE.po
+++ b/packages/wp-mu-plugin/stretch-extra/stretch-extra/languages/stretch-extra-sv_SE.po
@@ -62,3 +62,69 @@ msgstr ""
#: stretch-extra/inc/marketplace/config.php
msgid "Provides guided onboarding and a Site Assistant in the WordPress admin."
msgstr ""
+
+#: stretch-extra/inc/plugin-block-list/plugin-block-list.php
+msgid "BWP Minify (as of 1.3.3) is not ready for use. The plugin writes a configuration file that must be edited manually to support plugins and themes installed via symlinks. Because it breaks sites upon activation, we have automatically deactivated the plugin to keep your site working. In the interest of making BWP Minify compatible, we provided this patch to the author in May 2016. If you choose to fix the configuration file yourself, you may skip the automatic deactivation by renaming bwp-minify/bwp-minify.php."
+msgstr ""
+
+#: stretch-extra/inc/plugin-block-list/plugin-block-list.php
+msgid "The use of \"E-Mail Broadcasting\" is not allowed."
+msgstr ""
+
+#: stretch-extra/inc/plugin-block-list/plugin-block-list.php
+msgid "The use of \"Send Email From Admin\" is not allowed."
+msgstr ""
+
+#: stretch-extra/inc/plugin-block-list/plugin-block-list.php
+msgid "The use of \"Mail It!\" is not allowed."
+msgstr ""
+
+#: stretch-extra/inc/plugin-block-list/plugin-block-list.php
+msgid "The use of Nginx Helper can interfere with caching, which is automatically provided for this site. Nginx Helper has been deactivated."
+msgstr ""
+
+#: stretch-extra/inc/plugin-block-list/plugin-block-list.php
+msgid "The use of Stop Bad Bots is not allowed."
+msgstr ""
+
+#: stretch-extra/inc/plugin-block-list/plugin-block-list.php
+msgid "The use of W3 Total Cache can interfere with caching, which is automatically provided for this site. W3 Total Cache has been deactivated."
+msgstr ""
+
+#: stretch-extra/inc/plugin-block-list/plugin-block-list.php
+msgid "The use of WP Fastest Cache can interfere with caching, which is automatically provided for this site. WP Fastest Cache has been deactivated."
+msgstr ""
+
+#: stretch-extra/inc/plugin-block-list/plugin-block-list.php
+msgid "The use of WP Super Cache can interfere with caching, which is automatically provided for this site. WP Super Cache has been deactivated."
+msgstr ""
+
+#: stretch-extra/inc/plugin-block-list/plugin-block-list.php
+msgid "WP REST API Log inflates post table size beyond normal usage levels."
+msgstr ""
+
+#: stretch-extra/inc/plugin-block-list/plugin-block-list.php
+msgid "Melapress File Monitor inflates the options table size beyond normal usage levels."
+msgstr ""
+
+#: stretch-extra/inc/plugin-block-list/plugin-block-list.php
+msgid "Not Supported"
+msgstr ""
+
+#: stretch-extra/inc/plugin-block-list/plugin-block-list.php
+msgid "Disabled"
+msgstr ""
+
+#: stretch-extra/inc/plugin-block-list/plugin-block-list.php
+msgid "Validating against blocked plugins…"
+msgstr ""
+
+#. translators: %s: link to blocked plugins list
+#: stretch-extra/inc/plugin-block-list/plugin-block-list.php
+#, php-format
+msgid "This plugin is not supported on our Managed WordPress platform. %s"
+msgstr ""
+
+#: stretch-extra/inc/plugin-block-list/plugin-block-list.php
+msgid "Full list of blocked plugins"
+msgstr ""
diff --git a/packages/wp-mu-plugin/stretch-extra/stretch-extra/languages/stretch-extra.pot b/packages/wp-mu-plugin/stretch-extra/stretch-extra/languages/stretch-extra.pot
index c58281174..d34b22c94 100644
--- a/packages/wp-mu-plugin/stretch-extra/stretch-extra/languages/stretch-extra.pot
+++ b/packages/wp-mu-plugin/stretch-extra/stretch-extra/languages/stretch-extra.pot
@@ -9,9 +9,9 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"POT-Creation-Date: 2026-02-11T10:50:16+00:00\n"
+"POT-Creation-Date: 2026-03-25T16:22:01+00:00\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
-"X-Generator: WP-CLI 2.11.0\n"
+"X-Generator: WP-CLI 2.12.0\n"
"X-Domain: stretch-extra\n"
#. Plugin Name of the plugin
@@ -62,3 +62,69 @@ msgstr ""
#: stretch-extra/inc/marketplace/marketplace.php
msgid "recommends"
msgstr ""
+
+#: stretch-extra/inc/plugin-block-list/plugin-block-list.php
+msgid "BWP Minify (as of 1.3.3) is not ready for use. The plugin writes a configuration file that must be edited manually to support plugins and themes installed via symlinks. Because it breaks sites upon activation, we have automatically deactivated the plugin to keep your site working. In the interest of making BWP Minify compatible, we provided this patch to the author in May 2016. If you choose to fix the configuration file yourself, you may skip the automatic deactivation by renaming bwp-minify/bwp-minify.php."
+msgstr ""
+
+#: stretch-extra/inc/plugin-block-list/plugin-block-list.php
+msgid "The use of \"E-Mail Broadcasting\" is not allowed."
+msgstr ""
+
+#: stretch-extra/inc/plugin-block-list/plugin-block-list.php
+msgid "The use of \"Send Email From Admin\" is not allowed."
+msgstr ""
+
+#: stretch-extra/inc/plugin-block-list/plugin-block-list.php
+msgid "The use of \"Mail It!\" is not allowed."
+msgstr ""
+
+#: stretch-extra/inc/plugin-block-list/plugin-block-list.php
+msgid "The use of Nginx Helper can interfere with caching, which is automatically provided for this site. Nginx Helper has been deactivated."
+msgstr ""
+
+#: stretch-extra/inc/plugin-block-list/plugin-block-list.php
+msgid "The use of Stop Bad Bots is not allowed."
+msgstr ""
+
+#: stretch-extra/inc/plugin-block-list/plugin-block-list.php
+msgid "The use of W3 Total Cache can interfere with caching, which is automatically provided for this site. W3 Total Cache has been deactivated."
+msgstr ""
+
+#: stretch-extra/inc/plugin-block-list/plugin-block-list.php
+msgid "The use of WP Fastest Cache can interfere with caching, which is automatically provided for this site. WP Fastest Cache has been deactivated."
+msgstr ""
+
+#: stretch-extra/inc/plugin-block-list/plugin-block-list.php
+msgid "The use of WP Super Cache can interfere with caching, which is automatically provided for this site. WP Super Cache has been deactivated."
+msgstr ""
+
+#: stretch-extra/inc/plugin-block-list/plugin-block-list.php
+msgid "WP REST API Log inflates post table size beyond normal usage levels."
+msgstr ""
+
+#: stretch-extra/inc/plugin-block-list/plugin-block-list.php
+msgid "Melapress File Monitor inflates the options table size beyond normal usage levels."
+msgstr ""
+
+#: stretch-extra/inc/plugin-block-list/plugin-block-list.php
+msgid "Not Supported"
+msgstr ""
+
+#: stretch-extra/inc/plugin-block-list/plugin-block-list.php
+msgid "Disabled"
+msgstr ""
+
+#: stretch-extra/inc/plugin-block-list/plugin-block-list.php
+msgid "Validating against blocked plugins…"
+msgstr ""
+
+#. translators: %s: link to blocked plugins list
+#: stretch-extra/inc/plugin-block-list/plugin-block-list.php
+#, php-format
+msgid "This plugin is not supported on our Managed WordPress platform. %s"
+msgstr ""
+
+#: stretch-extra/inc/plugin-block-list/plugin-block-list.php
+msgid "Full list of blocked plugins"
+msgstr ""
From f680f61424671e164d6058afc91c652297bb5421 Mon Sep 17 00:00:00 2001
From: Denise Stamatov bwp-minify/bwp-minify.php.', 'stretch-extra' ),
- 'e-mail-broadcasting/e-mail-broadcasting.php' => __( 'The use of "E-Mail Broadcasting" is not allowed.', 'stretch-extra' ),
- 'send-email-from-admin/send-email-from-admin.php' => __( 'The use of "Send Email From Admin" is not allowed.', 'stretch-extra' ),
- 'mailit/mailit.php' => __( 'The use of "Mail It!" is not allowed.', 'stretch-extra' ),
- 'nginx-helper/nginx-helper.php' => __( 'The use of Nginx Helper can interfere with caching, which is automatically provided for this site. Nginx Helper has been deactivated.', 'stretch-extra' ),
- 'stopbadbots/stopbadbots.php' => __( 'The use of Stop Bad Bots is not allowed.', 'stretch-extra' ),
- 'w3-total-cache/w3-total-cache.php' => __( 'The use of W3 Total Cache can interfere with caching, which is automatically provided for this site. W3 Total Cache has been deactivated.', 'stretch-extra' ),
- 'wp-fastest-cache/wpFastestCache.php' => __( 'The use of WP Fastest Cache can interfere with caching, which is automatically provided for this site. WP Fastest Cache has been deactivated.', 'stretch-extra' ),
- 'wp-super-cache/wp-cache.php' => __( 'The use of WP Super Cache can interfere with caching, which is automatically provided for this site. WP Super Cache has been deactivated.', 'stretch-extra' ),
- 'wp-rest-api-log/wp-rest-api-log.php' => __( 'WP REST API Log inflates post table size beyond normal usage levels.', 'stretch-extra' ),
- 'website-file-changes-monitor/website-file-changes-monitor.php' => __( 'Melapress File Monitor inflates the options table size beyond normal usage levels.', 'stretch-extra' ),
- ];
+function get_disallowed_plugins()
+{
+ return [
+ 'bwp-minify/bwp-minify.php' => __('BWP Minify (as of 1.3.3) is not ready for use. The plugin writes a configuration file that must be edited manually to support plugins and themes installed via symlinks. Because it breaks sites upon activation, we have automatically deactivated the plugin to keep your site working. In the interest of making BWP Minify compatible, we provided this patch to the author in May 2016. If you choose to fix the configuration file yourself, you may skip the automatic deactivation by renaming bwp-minify/bwp-minify.php.', 'stretch-extra'),
+ 'e-mail-broadcasting/e-mail-broadcasting.php' => __('The use of "E-Mail Broadcasting" is not allowed.', 'stretch-extra'),
+ 'send-email-from-admin/send-email-from-admin.php' => __('The use of "Send Email From Admin" is not allowed.', 'stretch-extra'),
+ 'mailit/mailit.php' => __('The use of "Mail It!" is not allowed.', 'stretch-extra'),
+ 'nginx-helper/nginx-helper.php' => __('The use of Nginx Helper can interfere with caching, which is automatically provided for this site. Nginx Helper has been deactivated.', 'stretch-extra'),
+ 'stopbadbots/stopbadbots.php' => __('The use of Stop Bad Bots is not allowed.', 'stretch-extra'),
+ 'w3-total-cache/w3-total-cache.php' => __('The use of W3 Total Cache can interfere with caching, which is automatically provided for this site. W3 Total Cache has been deactivated.', 'stretch-extra'),
+ 'wp-fastest-cache/wpFastestCache.php' => __('The use of WP Fastest Cache can interfere with caching, which is automatically provided for this site. WP Fastest Cache has been deactivated.', 'stretch-extra'),
+ 'wp-super-cache/wp-cache.php' => __('The use of WP Super Cache can interfere with caching, which is automatically provided for this site. WP Super Cache has been deactivated.', 'stretch-extra'),
+ 'wp-rest-api-log/wp-rest-api-log.php' => __('WP REST API Log inflates post table size beyond normal usage levels.', 'stretch-extra'),
+ 'website-file-changes-monitor/website-file-changes-monitor.php' => __('Melapress File Monitor inflates the options table size beyond normal usage levels.', 'stretch-extra'),
+ ];
}
/**
* Disable install button for disallowed plugins
*/
-function disable_plugin_install_link( $action_links, $plugin ) {
- $disallowed_slugs = array_map( 'dirname', array_keys( get_disallowed_plugins() ) );
+function disable_plugin_install_link($action_links, $plugin)
+{
+ $disallowed_slugs = array_map('dirname', array_keys(get_disallowed_plugins()));
- if ( in_array( $plugin['slug'], $disallowed_slugs, true ) ) {
- return [
- '' . __( 'Not Supported', 'stretch-extra' ) . ''
- ];
- }
+ if (in_array($plugin['slug'], $disallowed_slugs, true)) {
+ return [
+ '' . __('Not Supported', 'stretch-extra') . '',
+ ];
+ }
- return $action_links;
+ return $action_links;
}
-add_filter( 'plugin_install_action_links', 'disable_plugin_install_link', 0, 2 );
+add_filter('plugin_install_action_links', 'disable_plugin_install_link', 0, 2);
/**
* Disable activate button for disallowed plugins
*/
-function disable_plugin_activate_link( $actions, $plugin_file ) {
- $disallowed = get_disallowed_plugins();
+function disable_plugin_activate_link($actions, $plugin_file)
+{
+ $disallowed = get_disallowed_plugins();
- if ( isset( $actions['activate'] ) && array_key_exists( $plugin_file, $disallowed ) ) {
- $actions['activate'] = __( 'Disabled', 'stretch-extra' );
- unset( $actions['edit'] );
- }
+ if (isset($actions['activate']) && array_key_exists($plugin_file, $disallowed)) {
+ $actions['activate'] = __('Disabled', 'stretch-extra');
+ unset($actions['edit']);
+ }
- return $actions;
+ return $actions;
}
-add_filter( 'plugin_action_links', 'disable_plugin_activate_link', 10, 2 );
-add_filter( 'network_admin_plugin_action_links', 'disable_plugin_activate_link', 10, 2 );
+add_filter('plugin_action_links', 'disable_plugin_activate_link', 10, 2);
+add_filter('network_admin_plugin_action_links', 'disable_plugin_activate_link', 10, 2);
/**
* Deactivate disallowed plugins if they are active
*/
-function deactivate_disallowed_plugins() {
- $disallowed = get_disallowed_plugins();
- foreach ( $disallowed as $plugin_file => $message ) {
- if ( is_plugin_active( $plugin_file ) ) {
- deactivate_plugins( $plugin_file );
- add_action( 'admin_notices', function() use ( $message ) {
- echo '
' . esc_html__( + wp_register_style('stretch-extra-inline', false); + wp_enqueue_style('stretch-extra-inline'); + + wp_add_inline_style('stretch-extra-inline', ' + .zip-upload-text { + margin: 0 0 8px 0; + font-style: italic; + color: #555; + } + '); + + echo '
' . esc_html__( 'Validating against blocked plugins…', 'stretch-extra' ) . '
'; From cb7d318ca7e9aa46cf3ff7b19695459e55a52e47 Mon Sep 17 00:00:00 2001 From: Lars Gersmann' . wp_kses_post( - __($message, 'stretch-extra') + $message ) . '
' . wp_kses_post( - $message - ) . '
' . wp_kses_post($message) . '
bwp-minify/bwp-minify.php.', 'stretch-extra'),
- 'e-mail-broadcasting/e-mail-broadcasting.php' => __('The use of "E-Mail Broadcasting" is not allowed.', 'stretch-extra'),
- 'send-email-from-admin/send-email-from-admin.php' => __('The use of "Send Email From Admin" is not allowed.', 'stretch-extra'),
- 'mailit/mailit.php' => __('The use of "Mail It!" is not allowed.', 'stretch-extra'),
- 'nginx-helper/nginx-helper.php' => __('The use of Nginx Helper can interfere with caching, which is automatically provided for this site. Nginx Helper has been deactivated.', 'stretch-extra'),
- 'stopbadbots/stopbadbots.php' => __('The use of Stop Bad Bots is not allowed.', 'stretch-extra'),
- 'w3-total-cache/w3-total-cache.php' => __('The use of W3 Total Cache can interfere with caching, which is automatically provided for this site. W3 Total Cache has been deactivated.', 'stretch-extra'),
- 'wp-fastest-cache/wpFastestCache.php' => __('The use of WP Fastest Cache can interfere with caching, which is automatically provided for this site. WP Fastest Cache has been deactivated.', 'stretch-extra'),
- 'wp-super-cache/wp-cache.php' => __('The use of WP Super Cache can interfere with caching, which is automatically provided for this site. WP Super Cache has been deactivated.', 'stretch-extra'),
- 'wp-rest-api-log/wp-rest-api-log.php' => __('WP REST API Log inflates post table size beyond normal usage levels.', 'stretch-extra'),
- 'website-file-changes-monitor/website-file-changes-monitor.php' => __('Melapress File Monitor inflates the options table size beyond normal usage levels.', 'stretch-extra'),
+ 'bwp-minify/bwp-minify.php',
+ 'e-mail-broadcasting/e-mail-broadcasting.php',
+ 'send-email-from-admin/send-email-from-admin.php',
+ 'mailit/mailit.php',
+ 'nginx-helper/nginx-helper.php',
+ 'stopbadbots/stopbadbots.php',
+ 'w3-total-cache/w3-total-cache.php',
+ 'wp-fastest-cache/wpFastestCache.php',
+ 'wp-super-cache/wp-cache.php',
+ 'wp-rest-api-log/wp-rest-api-log.php',
+ 'website-file-changes-monitor/website-file-changes-monitor.php',
];
}
@@ -29,7 +29,7 @@ function get_disallowed_plugins()
*/
function disable_plugin_install_link($action_links, $plugin)
{
- $disallowed_slugs = array_map('dirname', array_keys(get_disallowed_plugins()));
+ $disallowed_slugs = array_map('dirname', get_disallowed_plugins());
if (in_array($plugin['slug'], $disallowed_slugs, true)) {
return [
@@ -48,7 +48,7 @@ function disable_plugin_activate_link($actions, $plugin_file)
{
$disallowed = get_disallowed_plugins();
- if (isset($actions['activate']) && array_key_exists($plugin_file, $disallowed)) {
+ if (isset($actions['activate']) && in_array($plugin_file, $disallowed, true)) {
$actions['activate'] = __('Disabled', 'stretch-extra');
unset($actions['edit']);
}
@@ -63,12 +63,32 @@ function disable_plugin_activate_link($actions, $plugin_file)
*/
function deactivate_disallowed_plugins()
{
+ // Make sure plugin functions are available
+ require_once ABSPATH . 'wp-admin/includes/plugin.php';
+
$disallowed = get_disallowed_plugins();
- foreach ($disallowed as $plugin_file => $message) {
+
+ foreach ($disallowed as $plugin_file) {
if (is_plugin_active($plugin_file)) {
+
+ // Get plugin data (real name from header)
+ $plugin_data = get_plugin_data(WP_PLUGIN_DIR . '/' . $plugin_file);
+ $plugin_name = ! empty($plugin_data['Name'])
+ ? $plugin_data['Name']
+ : $plugin_file; // fallback
+
deactivate_plugins($plugin_file);
- add_action('admin_notices', function () use ($message) {
- echo '' . wp_kses_post($message) . '
' . + wp_kses_post($message) . + '
bwp-minify/bwp-minify.php."
-msgstr ""
-
-#: stretch-extra/inc/plugin-block-list/plugin-block-list.php
-msgid "The use of \"E-Mail Broadcasting\" is not allowed."
-msgstr ""
-
-#: stretch-extra/inc/plugin-block-list/plugin-block-list.php
-msgid "The use of \"Send Email From Admin\" is not allowed."
-msgstr ""
-
-#: stretch-extra/inc/plugin-block-list/plugin-block-list.php
-msgid "The use of \"Mail It!\" is not allowed."
-msgstr ""
-
-#: stretch-extra/inc/plugin-block-list/plugin-block-list.php
-msgid "The use of Nginx Helper can interfere with caching, which is automatically provided for this site. Nginx Helper has been deactivated."
-msgstr ""
-
-#: stretch-extra/inc/plugin-block-list/plugin-block-list.php
-msgid "The use of Stop Bad Bots is not allowed."
-msgstr ""
-
-#: stretch-extra/inc/plugin-block-list/plugin-block-list.php
-msgid "The use of W3 Total Cache can interfere with caching, which is automatically provided for this site. W3 Total Cache has been deactivated."
-msgstr ""
-
-#: stretch-extra/inc/plugin-block-list/plugin-block-list.php
-msgid "The use of WP Fastest Cache can interfere with caching, which is automatically provided for this site. WP Fastest Cache has been deactivated."
-msgstr ""
-
-#: stretch-extra/inc/plugin-block-list/plugin-block-list.php
-msgid "The use of WP Super Cache can interfere with caching, which is automatically provided for this site. WP Super Cache has been deactivated."
-msgstr ""
-
-#: stretch-extra/inc/plugin-block-list/plugin-block-list.php
-msgid "WP REST API Log inflates post table size beyond normal usage levels."
-msgstr ""
-
-#: stretch-extra/inc/plugin-block-list/plugin-block-list.php
-msgid "Melapress File Monitor inflates the options table size beyond normal usage levels."
-msgstr ""
-
#: stretch-extra/inc/plugin-block-list/plugin-block-list.php
msgid "Not Supported"
msgstr ""
@@ -128,3 +84,8 @@ msgstr ""
#: stretch-extra/inc/plugin-block-list/plugin-block-list.php
msgid "Full list of blocked plugins"
msgstr ""
+
+#: stretch-extra/inc/plugin-block-list/plugin-block-list.php
+#, php-format
+msgid "The use of \"%s\" is not allowed and cannot be activated. Uninstall is recommended."
+msgstr ""
diff --git a/packages/wp-mu-plugin/stretch-extra/stretch-extra/languages/stretch-extra-en_US.po b/packages/wp-mu-plugin/stretch-extra/stretch-extra/languages/stretch-extra-en_US.po
index 64346ec09..fb94b6fc1 100644
--- a/packages/wp-mu-plugin/stretch-extra/stretch-extra/languages/stretch-extra-en_US.po
+++ b/packages/wp-mu-plugin/stretch-extra/stretch-extra/languages/stretch-extra-en_US.po
@@ -63,50 +63,6 @@ msgstr ""
msgid "Provides guided onboarding and a Site Assistant in the WordPress admin."
msgstr ""
-#: stretch-extra/inc/plugin-block-list/plugin-block-list.php
-msgid "BWP Minify (as of 1.3.3) is not ready for use. The plugin writes a configuration file that must be edited manually to support plugins and themes installed via symlinks. Because it breaks sites upon activation, we have automatically deactivated the plugin to keep your site working. In the interest of making BWP Minify compatible, we provided this patch to the author in May 2016. If you choose to fix the configuration file yourself, you may skip the automatic deactivation by renaming bwp-minify/bwp-minify.php."
-msgstr ""
-
-#: stretch-extra/inc/plugin-block-list/plugin-block-list.php
-msgid "The use of \"E-Mail Broadcasting\" is not allowed."
-msgstr ""
-
-#: stretch-extra/inc/plugin-block-list/plugin-block-list.php
-msgid "The use of \"Send Email From Admin\" is not allowed."
-msgstr ""
-
-#: stretch-extra/inc/plugin-block-list/plugin-block-list.php
-msgid "The use of \"Mail It!\" is not allowed."
-msgstr ""
-
-#: stretch-extra/inc/plugin-block-list/plugin-block-list.php
-msgid "The use of Nginx Helper can interfere with caching, which is automatically provided for this site. Nginx Helper has been deactivated."
-msgstr ""
-
-#: stretch-extra/inc/plugin-block-list/plugin-block-list.php
-msgid "The use of Stop Bad Bots is not allowed."
-msgstr ""
-
-#: stretch-extra/inc/plugin-block-list/plugin-block-list.php
-msgid "The use of W3 Total Cache can interfere with caching, which is automatically provided for this site. W3 Total Cache has been deactivated."
-msgstr ""
-
-#: stretch-extra/inc/plugin-block-list/plugin-block-list.php
-msgid "The use of WP Fastest Cache can interfere with caching, which is automatically provided for this site. WP Fastest Cache has been deactivated."
-msgstr ""
-
-#: stretch-extra/inc/plugin-block-list/plugin-block-list.php
-msgid "The use of WP Super Cache can interfere with caching, which is automatically provided for this site. WP Super Cache has been deactivated."
-msgstr ""
-
-#: stretch-extra/inc/plugin-block-list/plugin-block-list.php
-msgid "WP REST API Log inflates post table size beyond normal usage levels."
-msgstr ""
-
-#: stretch-extra/inc/plugin-block-list/plugin-block-list.php
-msgid "Melapress File Monitor inflates the options table size beyond normal usage levels."
-msgstr ""
-
#: stretch-extra/inc/plugin-block-list/plugin-block-list.php
msgid "Not Supported"
msgstr ""
@@ -128,3 +84,8 @@ msgstr ""
#: stretch-extra/inc/plugin-block-list/plugin-block-list.php
msgid "Full list of blocked plugins"
msgstr ""
+
+#: stretch-extra/inc/plugin-block-list/plugin-block-list.php
+#, php-format
+msgid "The use of \"%s\" is not allowed and cannot be activated. Uninstall is recommended."
+msgstr ""
diff --git a/packages/wp-mu-plugin/stretch-extra/stretch-extra/languages/stretch-extra-es_ES.po b/packages/wp-mu-plugin/stretch-extra/stretch-extra/languages/stretch-extra-es_ES.po
index 0678e6c04..5e636a1de 100644
--- a/packages/wp-mu-plugin/stretch-extra/stretch-extra/languages/stretch-extra-es_ES.po
+++ b/packages/wp-mu-plugin/stretch-extra/stretch-extra/languages/stretch-extra-es_ES.po
@@ -63,50 +63,6 @@ msgstr ""
msgid "Provides guided onboarding and a Site Assistant in the WordPress admin."
msgstr ""
-#: stretch-extra/inc/plugin-block-list/plugin-block-list.php
-msgid "BWP Minify (as of 1.3.3) is not ready for use. The plugin writes a configuration file that must be edited manually to support plugins and themes installed via symlinks. Because it breaks sites upon activation, we have automatically deactivated the plugin to keep your site working. In the interest of making BWP Minify compatible, we provided this patch to the author in May 2016. If you choose to fix the configuration file yourself, you may skip the automatic deactivation by renaming bwp-minify/bwp-minify.php."
-msgstr ""
-
-#: stretch-extra/inc/plugin-block-list/plugin-block-list.php
-msgid "The use of \"E-Mail Broadcasting\" is not allowed."
-msgstr ""
-
-#: stretch-extra/inc/plugin-block-list/plugin-block-list.php
-msgid "The use of \"Send Email From Admin\" is not allowed."
-msgstr ""
-
-#: stretch-extra/inc/plugin-block-list/plugin-block-list.php
-msgid "The use of \"Mail It!\" is not allowed."
-msgstr ""
-
-#: stretch-extra/inc/plugin-block-list/plugin-block-list.php
-msgid "The use of Nginx Helper can interfere with caching, which is automatically provided for this site. Nginx Helper has been deactivated."
-msgstr ""
-
-#: stretch-extra/inc/plugin-block-list/plugin-block-list.php
-msgid "The use of Stop Bad Bots is not allowed."
-msgstr ""
-
-#: stretch-extra/inc/plugin-block-list/plugin-block-list.php
-msgid "The use of W3 Total Cache can interfere with caching, which is automatically provided for this site. W3 Total Cache has been deactivated."
-msgstr ""
-
-#: stretch-extra/inc/plugin-block-list/plugin-block-list.php
-msgid "The use of WP Fastest Cache can interfere with caching, which is automatically provided for this site. WP Fastest Cache has been deactivated."
-msgstr ""
-
-#: stretch-extra/inc/plugin-block-list/plugin-block-list.php
-msgid "The use of WP Super Cache can interfere with caching, which is automatically provided for this site. WP Super Cache has been deactivated."
-msgstr ""
-
-#: stretch-extra/inc/plugin-block-list/plugin-block-list.php
-msgid "WP REST API Log inflates post table size beyond normal usage levels."
-msgstr ""
-
-#: stretch-extra/inc/plugin-block-list/plugin-block-list.php
-msgid "Melapress File Monitor inflates the options table size beyond normal usage levels."
-msgstr ""
-
#: stretch-extra/inc/plugin-block-list/plugin-block-list.php
msgid "Not Supported"
msgstr ""
@@ -128,3 +84,8 @@ msgstr ""
#: stretch-extra/inc/plugin-block-list/plugin-block-list.php
msgid "Full list of blocked plugins"
msgstr ""
+
+#: stretch-extra/inc/plugin-block-list/plugin-block-list.php
+#, php-format
+msgid "The use of \"%s\" is not allowed and cannot be activated. Uninstall is recommended."
+msgstr ""
diff --git a/packages/wp-mu-plugin/stretch-extra/stretch-extra/languages/stretch-extra-es_MX.po b/packages/wp-mu-plugin/stretch-extra/stretch-extra/languages/stretch-extra-es_MX.po
index f0a7c8b46..4c0c7e89a 100644
--- a/packages/wp-mu-plugin/stretch-extra/stretch-extra/languages/stretch-extra-es_MX.po
+++ b/packages/wp-mu-plugin/stretch-extra/stretch-extra/languages/stretch-extra-es_MX.po
@@ -63,50 +63,6 @@ msgstr ""
msgid "Provides guided onboarding and a Site Assistant in the WordPress admin."
msgstr ""
-#: stretch-extra/inc/plugin-block-list/plugin-block-list.php
-msgid "BWP Minify (as of 1.3.3) is not ready for use. The plugin writes a configuration file that must be edited manually to support plugins and themes installed via symlinks. Because it breaks sites upon activation, we have automatically deactivated the plugin to keep your site working. In the interest of making BWP Minify compatible, we provided this patch to the author in May 2016. If you choose to fix the configuration file yourself, you may skip the automatic deactivation by renaming bwp-minify/bwp-minify.php."
-msgstr ""
-
-#: stretch-extra/inc/plugin-block-list/plugin-block-list.php
-msgid "The use of \"E-Mail Broadcasting\" is not allowed."
-msgstr ""
-
-#: stretch-extra/inc/plugin-block-list/plugin-block-list.php
-msgid "The use of \"Send Email From Admin\" is not allowed."
-msgstr ""
-
-#: stretch-extra/inc/plugin-block-list/plugin-block-list.php
-msgid "The use of \"Mail It!\" is not allowed."
-msgstr ""
-
-#: stretch-extra/inc/plugin-block-list/plugin-block-list.php
-msgid "The use of Nginx Helper can interfere with caching, which is automatically provided for this site. Nginx Helper has been deactivated."
-msgstr ""
-
-#: stretch-extra/inc/plugin-block-list/plugin-block-list.php
-msgid "The use of Stop Bad Bots is not allowed."
-msgstr ""
-
-#: stretch-extra/inc/plugin-block-list/plugin-block-list.php
-msgid "The use of W3 Total Cache can interfere with caching, which is automatically provided for this site. W3 Total Cache has been deactivated."
-msgstr ""
-
-#: stretch-extra/inc/plugin-block-list/plugin-block-list.php
-msgid "The use of WP Fastest Cache can interfere with caching, which is automatically provided for this site. WP Fastest Cache has been deactivated."
-msgstr ""
-
-#: stretch-extra/inc/plugin-block-list/plugin-block-list.php
-msgid "The use of WP Super Cache can interfere with caching, which is automatically provided for this site. WP Super Cache has been deactivated."
-msgstr ""
-
-#: stretch-extra/inc/plugin-block-list/plugin-block-list.php
-msgid "WP REST API Log inflates post table size beyond normal usage levels."
-msgstr ""
-
-#: stretch-extra/inc/plugin-block-list/plugin-block-list.php
-msgid "Melapress File Monitor inflates the options table size beyond normal usage levels."
-msgstr ""
-
#: stretch-extra/inc/plugin-block-list/plugin-block-list.php
msgid "Not Supported"
msgstr ""
@@ -128,3 +84,8 @@ msgstr ""
#: stretch-extra/inc/plugin-block-list/plugin-block-list.php
msgid "Full list of blocked plugins"
msgstr ""
+
+#: stretch-extra/inc/plugin-block-list/plugin-block-list.php
+#, php-format
+msgid "The use of \"%s\" is not allowed and cannot be activated. Uninstall is recommended."
+msgstr ""
diff --git a/packages/wp-mu-plugin/stretch-extra/stretch-extra/languages/stretch-extra-fr_FR.po b/packages/wp-mu-plugin/stretch-extra/stretch-extra/languages/stretch-extra-fr_FR.po
index e54f32210..6c94d6644 100644
--- a/packages/wp-mu-plugin/stretch-extra/stretch-extra/languages/stretch-extra-fr_FR.po
+++ b/packages/wp-mu-plugin/stretch-extra/stretch-extra/languages/stretch-extra-fr_FR.po
@@ -63,50 +63,6 @@ msgstr ""
msgid "Provides guided onboarding and a Site Assistant in the WordPress admin."
msgstr ""
-#: stretch-extra/inc/plugin-block-list/plugin-block-list.php
-msgid "BWP Minify (as of 1.3.3) is not ready for use. The plugin writes a configuration file that must be edited manually to support plugins and themes installed via symlinks. Because it breaks sites upon activation, we have automatically deactivated the plugin to keep your site working. In the interest of making BWP Minify compatible, we provided this patch to the author in May 2016. If you choose to fix the configuration file yourself, you may skip the automatic deactivation by renaming bwp-minify/bwp-minify.php."
-msgstr ""
-
-#: stretch-extra/inc/plugin-block-list/plugin-block-list.php
-msgid "The use of \"E-Mail Broadcasting\" is not allowed."
-msgstr ""
-
-#: stretch-extra/inc/plugin-block-list/plugin-block-list.php
-msgid "The use of \"Send Email From Admin\" is not allowed."
-msgstr ""
-
-#: stretch-extra/inc/plugin-block-list/plugin-block-list.php
-msgid "The use of \"Mail It!\" is not allowed."
-msgstr ""
-
-#: stretch-extra/inc/plugin-block-list/plugin-block-list.php
-msgid "The use of Nginx Helper can interfere with caching, which is automatically provided for this site. Nginx Helper has been deactivated."
-msgstr ""
-
-#: stretch-extra/inc/plugin-block-list/plugin-block-list.php
-msgid "The use of Stop Bad Bots is not allowed."
-msgstr ""
-
-#: stretch-extra/inc/plugin-block-list/plugin-block-list.php
-msgid "The use of W3 Total Cache can interfere with caching, which is automatically provided for this site. W3 Total Cache has been deactivated."
-msgstr ""
-
-#: stretch-extra/inc/plugin-block-list/plugin-block-list.php
-msgid "The use of WP Fastest Cache can interfere with caching, which is automatically provided for this site. WP Fastest Cache has been deactivated."
-msgstr ""
-
-#: stretch-extra/inc/plugin-block-list/plugin-block-list.php
-msgid "The use of WP Super Cache can interfere with caching, which is automatically provided for this site. WP Super Cache has been deactivated."
-msgstr ""
-
-#: stretch-extra/inc/plugin-block-list/plugin-block-list.php
-msgid "WP REST API Log inflates post table size beyond normal usage levels."
-msgstr ""
-
-#: stretch-extra/inc/plugin-block-list/plugin-block-list.php
-msgid "Melapress File Monitor inflates the options table size beyond normal usage levels."
-msgstr ""
-
#: stretch-extra/inc/plugin-block-list/plugin-block-list.php
msgid "Not Supported"
msgstr ""
@@ -128,3 +84,8 @@ msgstr ""
#: stretch-extra/inc/plugin-block-list/plugin-block-list.php
msgid "Full list of blocked plugins"
msgstr ""
+
+#: stretch-extra/inc/plugin-block-list/plugin-block-list.php
+#, php-format
+msgid "The use of \"%s\" is not allowed and cannot be activated. Uninstall is recommended."
+msgstr ""
diff --git a/packages/wp-mu-plugin/stretch-extra/stretch-extra/languages/stretch-extra-it_IT.po b/packages/wp-mu-plugin/stretch-extra/stretch-extra/languages/stretch-extra-it_IT.po
index b3fdf2141..82bdf5c63 100644
--- a/packages/wp-mu-plugin/stretch-extra/stretch-extra/languages/stretch-extra-it_IT.po
+++ b/packages/wp-mu-plugin/stretch-extra/stretch-extra/languages/stretch-extra-it_IT.po
@@ -63,50 +63,6 @@ msgstr ""
msgid "Provides guided onboarding and a Site Assistant in the WordPress admin."
msgstr ""
-#: stretch-extra/inc/plugin-block-list/plugin-block-list.php
-msgid "BWP Minify (as of 1.3.3) is not ready for use. The plugin writes a configuration file that must be edited manually to support plugins and themes installed via symlinks. Because it breaks sites upon activation, we have automatically deactivated the plugin to keep your site working. In the interest of making BWP Minify compatible, we provided this patch to the author in May 2016. If you choose to fix the configuration file yourself, you may skip the automatic deactivation by renaming bwp-minify/bwp-minify.php."
-msgstr ""
-
-#: stretch-extra/inc/plugin-block-list/plugin-block-list.php
-msgid "The use of \"E-Mail Broadcasting\" is not allowed."
-msgstr ""
-
-#: stretch-extra/inc/plugin-block-list/plugin-block-list.php
-msgid "The use of \"Send Email From Admin\" is not allowed."
-msgstr ""
-
-#: stretch-extra/inc/plugin-block-list/plugin-block-list.php
-msgid "The use of \"Mail It!\" is not allowed."
-msgstr ""
-
-#: stretch-extra/inc/plugin-block-list/plugin-block-list.php
-msgid "The use of Nginx Helper can interfere with caching, which is automatically provided for this site. Nginx Helper has been deactivated."
-msgstr ""
-
-#: stretch-extra/inc/plugin-block-list/plugin-block-list.php
-msgid "The use of Stop Bad Bots is not allowed."
-msgstr ""
-
-#: stretch-extra/inc/plugin-block-list/plugin-block-list.php
-msgid "The use of W3 Total Cache can interfere with caching, which is automatically provided for this site. W3 Total Cache has been deactivated."
-msgstr ""
-
-#: stretch-extra/inc/plugin-block-list/plugin-block-list.php
-msgid "The use of WP Fastest Cache can interfere with caching, which is automatically provided for this site. WP Fastest Cache has been deactivated."
-msgstr ""
-
-#: stretch-extra/inc/plugin-block-list/plugin-block-list.php
-msgid "The use of WP Super Cache can interfere with caching, which is automatically provided for this site. WP Super Cache has been deactivated."
-msgstr ""
-
-#: stretch-extra/inc/plugin-block-list/plugin-block-list.php
-msgid "WP REST API Log inflates post table size beyond normal usage levels."
-msgstr ""
-
-#: stretch-extra/inc/plugin-block-list/plugin-block-list.php
-msgid "Melapress File Monitor inflates the options table size beyond normal usage levels."
-msgstr ""
-
#: stretch-extra/inc/plugin-block-list/plugin-block-list.php
msgid "Not Supported"
msgstr ""
@@ -128,3 +84,8 @@ msgstr ""
#: stretch-extra/inc/plugin-block-list/plugin-block-list.php
msgid "Full list of blocked plugins"
msgstr ""
+
+#: stretch-extra/inc/plugin-block-list/plugin-block-list.php
+#, php-format
+msgid "The use of \"%s\" is not allowed and cannot be activated. Uninstall is recommended."
+msgstr ""
diff --git a/packages/wp-mu-plugin/stretch-extra/stretch-extra/languages/stretch-extra-nl_NL.po b/packages/wp-mu-plugin/stretch-extra/stretch-extra/languages/stretch-extra-nl_NL.po
index 7da5a46b0..ae5ed0434 100644
--- a/packages/wp-mu-plugin/stretch-extra/stretch-extra/languages/stretch-extra-nl_NL.po
+++ b/packages/wp-mu-plugin/stretch-extra/stretch-extra/languages/stretch-extra-nl_NL.po
@@ -63,50 +63,6 @@ msgstr ""
msgid "Provides guided onboarding and a Site Assistant in the WordPress admin."
msgstr ""
-#: stretch-extra/inc/plugin-block-list/plugin-block-list.php
-msgid "BWP Minify (as of 1.3.3) is not ready for use. The plugin writes a configuration file that must be edited manually to support plugins and themes installed via symlinks. Because it breaks sites upon activation, we have automatically deactivated the plugin to keep your site working. In the interest of making BWP Minify compatible, we provided this patch to the author in May 2016. If you choose to fix the configuration file yourself, you may skip the automatic deactivation by renaming bwp-minify/bwp-minify.php."
-msgstr ""
-
-#: stretch-extra/inc/plugin-block-list/plugin-block-list.php
-msgid "The use of \"E-Mail Broadcasting\" is not allowed."
-msgstr ""
-
-#: stretch-extra/inc/plugin-block-list/plugin-block-list.php
-msgid "The use of \"Send Email From Admin\" is not allowed."
-msgstr ""
-
-#: stretch-extra/inc/plugin-block-list/plugin-block-list.php
-msgid "The use of \"Mail It!\" is not allowed."
-msgstr ""
-
-#: stretch-extra/inc/plugin-block-list/plugin-block-list.php
-msgid "The use of Nginx Helper can interfere with caching, which is automatically provided for this site. Nginx Helper has been deactivated."
-msgstr ""
-
-#: stretch-extra/inc/plugin-block-list/plugin-block-list.php
-msgid "The use of Stop Bad Bots is not allowed."
-msgstr ""
-
-#: stretch-extra/inc/plugin-block-list/plugin-block-list.php
-msgid "The use of W3 Total Cache can interfere with caching, which is automatically provided for this site. W3 Total Cache has been deactivated."
-msgstr ""
-
-#: stretch-extra/inc/plugin-block-list/plugin-block-list.php
-msgid "The use of WP Fastest Cache can interfere with caching, which is automatically provided for this site. WP Fastest Cache has been deactivated."
-msgstr ""
-
-#: stretch-extra/inc/plugin-block-list/plugin-block-list.php
-msgid "The use of WP Super Cache can interfere with caching, which is automatically provided for this site. WP Super Cache has been deactivated."
-msgstr ""
-
-#: stretch-extra/inc/plugin-block-list/plugin-block-list.php
-msgid "WP REST API Log inflates post table size beyond normal usage levels."
-msgstr ""
-
-#: stretch-extra/inc/plugin-block-list/plugin-block-list.php
-msgid "Melapress File Monitor inflates the options table size beyond normal usage levels."
-msgstr ""
-
#: stretch-extra/inc/plugin-block-list/plugin-block-list.php
msgid "Not Supported"
msgstr ""
@@ -128,3 +84,8 @@ msgstr ""
#: stretch-extra/inc/plugin-block-list/plugin-block-list.php
msgid "Full list of blocked plugins"
msgstr ""
+
+#: stretch-extra/inc/plugin-block-list/plugin-block-list.php
+#, php-format
+msgid "The use of \"%s\" is not allowed and cannot be activated. Uninstall is recommended."
+msgstr ""
diff --git a/packages/wp-mu-plugin/stretch-extra/stretch-extra/languages/stretch-extra-sv_SE.po b/packages/wp-mu-plugin/stretch-extra/stretch-extra/languages/stretch-extra-sv_SE.po
index d89ec9751..73f376d1a 100644
--- a/packages/wp-mu-plugin/stretch-extra/stretch-extra/languages/stretch-extra-sv_SE.po
+++ b/packages/wp-mu-plugin/stretch-extra/stretch-extra/languages/stretch-extra-sv_SE.po
@@ -63,50 +63,6 @@ msgstr ""
msgid "Provides guided onboarding and a Site Assistant in the WordPress admin."
msgstr ""
-#: stretch-extra/inc/plugin-block-list/plugin-block-list.php
-msgid "BWP Minify (as of 1.3.3) is not ready for use. The plugin writes a configuration file that must be edited manually to support plugins and themes installed via symlinks. Because it breaks sites upon activation, we have automatically deactivated the plugin to keep your site working. In the interest of making BWP Minify compatible, we provided this patch to the author in May 2016. If you choose to fix the configuration file yourself, you may skip the automatic deactivation by renaming bwp-minify/bwp-minify.php."
-msgstr ""
-
-#: stretch-extra/inc/plugin-block-list/plugin-block-list.php
-msgid "The use of \"E-Mail Broadcasting\" is not allowed."
-msgstr ""
-
-#: stretch-extra/inc/plugin-block-list/plugin-block-list.php
-msgid "The use of \"Send Email From Admin\" is not allowed."
-msgstr ""
-
-#: stretch-extra/inc/plugin-block-list/plugin-block-list.php
-msgid "The use of \"Mail It!\" is not allowed."
-msgstr ""
-
-#: stretch-extra/inc/plugin-block-list/plugin-block-list.php
-msgid "The use of Nginx Helper can interfere with caching, which is automatically provided for this site. Nginx Helper has been deactivated."
-msgstr ""
-
-#: stretch-extra/inc/plugin-block-list/plugin-block-list.php
-msgid "The use of Stop Bad Bots is not allowed."
-msgstr ""
-
-#: stretch-extra/inc/plugin-block-list/plugin-block-list.php
-msgid "The use of W3 Total Cache can interfere with caching, which is automatically provided for this site. W3 Total Cache has been deactivated."
-msgstr ""
-
-#: stretch-extra/inc/plugin-block-list/plugin-block-list.php
-msgid "The use of WP Fastest Cache can interfere with caching, which is automatically provided for this site. WP Fastest Cache has been deactivated."
-msgstr ""
-
-#: stretch-extra/inc/plugin-block-list/plugin-block-list.php
-msgid "The use of WP Super Cache can interfere with caching, which is automatically provided for this site. WP Super Cache has been deactivated."
-msgstr ""
-
-#: stretch-extra/inc/plugin-block-list/plugin-block-list.php
-msgid "WP REST API Log inflates post table size beyond normal usage levels."
-msgstr ""
-
-#: stretch-extra/inc/plugin-block-list/plugin-block-list.php
-msgid "Melapress File Monitor inflates the options table size beyond normal usage levels."
-msgstr ""
-
#: stretch-extra/inc/plugin-block-list/plugin-block-list.php
msgid "Not Supported"
msgstr ""
@@ -128,3 +84,8 @@ msgstr ""
#: stretch-extra/inc/plugin-block-list/plugin-block-list.php
msgid "Full list of blocked plugins"
msgstr ""
+
+#: stretch-extra/inc/plugin-block-list/plugin-block-list.php
+#, php-format
+msgid "The use of \"%s\" is not allowed and cannot be activated. Uninstall is recommended."
+msgstr ""
diff --git a/packages/wp-mu-plugin/stretch-extra/stretch-extra/languages/stretch-extra.pot b/packages/wp-mu-plugin/stretch-extra/stretch-extra/languages/stretch-extra.pot
index d34b22c94..519dcb072 100644
--- a/packages/wp-mu-plugin/stretch-extra/stretch-extra/languages/stretch-extra.pot
+++ b/packages/wp-mu-plugin/stretch-extra/stretch-extra/languages/stretch-extra.pot
@@ -9,7 +9,7 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"POT-Creation-Date: 2026-03-25T16:22:01+00:00\n"
+"POT-Creation-Date: 2026-04-01T14:13:44+00:00\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"X-Generator: WP-CLI 2.12.0\n"
"X-Domain: stretch-extra\n"
@@ -64,55 +64,16 @@ msgid "recommends"
msgstr ""
#: stretch-extra/inc/plugin-block-list/plugin-block-list.php
-msgid "BWP Minify (as of 1.3.3) is not ready for use. The plugin writes a configuration file that must be edited manually to support plugins and themes installed via symlinks. Because it breaks sites upon activation, we have automatically deactivated the plugin to keep your site working. In the interest of making BWP Minify compatible, we provided this patch to the author in May 2016. If you choose to fix the configuration file yourself, you may skip the automatic deactivation by renaming bwp-minify/bwp-minify.php."
-msgstr ""
-
-#: stretch-extra/inc/plugin-block-list/plugin-block-list.php
-msgid "The use of \"E-Mail Broadcasting\" is not allowed."
-msgstr ""
-
-#: stretch-extra/inc/plugin-block-list/plugin-block-list.php
-msgid "The use of \"Send Email From Admin\" is not allowed."
-msgstr ""
-
-#: stretch-extra/inc/plugin-block-list/plugin-block-list.php
-msgid "The use of \"Mail It!\" is not allowed."
-msgstr ""
-
-#: stretch-extra/inc/plugin-block-list/plugin-block-list.php
-msgid "The use of Nginx Helper can interfere with caching, which is automatically provided for this site. Nginx Helper has been deactivated."
-msgstr ""
-
-#: stretch-extra/inc/plugin-block-list/plugin-block-list.php
-msgid "The use of Stop Bad Bots is not allowed."
-msgstr ""
-
-#: stretch-extra/inc/plugin-block-list/plugin-block-list.php
-msgid "The use of W3 Total Cache can interfere with caching, which is automatically provided for this site. W3 Total Cache has been deactivated."
-msgstr ""
-
-#: stretch-extra/inc/plugin-block-list/plugin-block-list.php
-msgid "The use of WP Fastest Cache can interfere with caching, which is automatically provided for this site. WP Fastest Cache has been deactivated."
-msgstr ""
-
-#: stretch-extra/inc/plugin-block-list/plugin-block-list.php
-msgid "The use of WP Super Cache can interfere with caching, which is automatically provided for this site. WP Super Cache has been deactivated."
-msgstr ""
-
-#: stretch-extra/inc/plugin-block-list/plugin-block-list.php
-msgid "WP REST API Log inflates post table size beyond normal usage levels."
-msgstr ""
-
-#: stretch-extra/inc/plugin-block-list/plugin-block-list.php
-msgid "Melapress File Monitor inflates the options table size beyond normal usage levels."
+msgid "Not Supported"
msgstr ""
#: stretch-extra/inc/plugin-block-list/plugin-block-list.php
-msgid "Not Supported"
+msgid "Disabled"
msgstr ""
#: stretch-extra/inc/plugin-block-list/plugin-block-list.php
-msgid "Disabled"
+#, php-format
+msgid "The use of \"%s\" is not allowed and cannot be activated. Uninstall is recommended."
msgstr ""
#: stretch-extra/inc/plugin-block-list/plugin-block-list.php
From d09187cf80767198ab9ac23e8d70f446d1a2398e Mon Sep 17 00:00:00 2001
From: Denise Stamatov