From 17cc7d7c1a7dccf189737206e3bba805348af191 Mon Sep 17 00:00:00 2001 From: lekiend Date: Wed, 26 Feb 2014 10:55:27 +0100 Subject: [PATCH] Update html-admin-page-status-report.php Status report shows update also if update version is lower than current version. It should show updates only for version number greather than current version --- includes/admin/views/html-admin-page-status-report.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/admin/views/html-admin-page-status-report.php b/includes/admin/views/html-admin-page-status-report.php index 58cbe5f555f..821f78e1b1b 100644 --- a/includes/admin/views/html-admin-page-status-report.php +++ b/includes/admin/views/html-admin-page-status-report.php @@ -246,7 +246,7 @@ } } - if ( ! empty( $version_data['version'] ) && version_compare( $version_data['version'], $plugin_data['Version'], '!=' ) ) + if ( ! empty( $version_data['version'] ) && version_compare( $version_data['version'], $plugin_data['Version'], '>' ) ) $version_string = ' – ' . $version_data['version'] . ' ' . __( 'is available', 'woocommerce' ) . ''; }