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
parent 6ff4ae1a7d
commit 41962f044f
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>';
}