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
This commit is contained in:
lekiend 2014-02-26 10:55:27 +01:00 committed by Coen Jacobs
parent 2fa9c2488e
commit 17cc7d7c1a
1 changed files with 1 additions and 1 deletions

View File

@ -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 = ' &ndash; <strong style="color:red;">' . $version_data['version'] . ' ' . __( 'is available', 'woocommerce' ) . '</strong>';
}