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:
parent
2fa9c2488e
commit
17cc7d7c1a
|
@ -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 = ' – <strong style="color:red;">' . $version_data['version'] . ' ' . __( 'is available', 'woocommerce' ) . '</strong>';
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue