From e3be6a12dd24d0dda16f00c20fa1b639e0c5025c Mon Sep 17 00:00:00 2001 From: Lee Willis Date: Wed, 30 Aug 2017 10:25:01 +0100 Subject: [PATCH] Check all plugins for presence in the untested plugins list, not just WooCommerce ones --- includes/admin/views/html-admin-page-status-report.php | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/includes/admin/views/html-admin-page-status-report.php b/includes/admin/views/html-admin-page-status-report.php index 74861a9f69c..f8091846dcb 100644 --- a/includes/admin/views/html-admin-page-status-report.php +++ b/includes/admin/views/html-admin-page-status-report.php @@ -457,7 +457,6 @@ $untested_plugins = $plugin_updates->get_untested_plugins( WC()->version, 'minor $version_string = ''; $network_string = ''; - $untested_string = ''; if ( strstr( $plugin['url'], 'woothemes.com' ) || strstr( $plugin['url'], 'woocommerce.com' ) ) { if ( ! empty( $plugin['version_latest'] ) && version_compare( $plugin['version_latest'], $plugin['version'], '>' ) ) { /* translators: %s: plugin latest version */ @@ -467,10 +466,10 @@ $untested_plugins = $plugin_updates->get_untested_plugins( WC()->version, 'minor if ( false != $plugin['network_activated'] ) { $network_string = ' – ' . __( 'Network enabled', 'woocommerce' ) . ''; } - - if ( array_key_exists( $plugin['plugin'], $untested_plugins ) ) { - $untested_string = ' – ' . esc_html__( 'Not tested with the active version of WooCommerce', 'woocommerce' ) . ''; - } + } + $untested_string = ''; + if ( array_key_exists( $plugin['plugin'], $untested_plugins ) ) { + $untested_string = ' – ' . esc_html__( 'Not tested with the active version of WooCommerce', 'woocommerce' ) . ''; } ?>