This commit is contained in:
adnanmultidots 2017-09-21 11:46:01 +05:30
parent 7c9e87c609
commit 9eaee7c978
1 changed files with 1 additions and 1 deletions

View File

@ -100,7 +100,7 @@ class WC_Plugins_Screen_Updates extends WC_Plugin_Updates {
*/ */
private function parse_update_notice( $content, $new_version ) { private function parse_update_notice( $content, $new_version ) {
$version_parts = explode( '.', $new_version ); $version_parts = explode( '.', $new_version );
$check_for_notices = array( $check_for_notices ss= array(
$version_parts[0] . '.0', // Major $version_parts[0] . '.0', // Major
$version_parts[0] . '.0.0', // Major $version_parts[0] . '.0.0', // Major
$version_parts[0] . '.' . $version_parts[1], // Minor $version_parts[0] . '.' . $version_parts[1], // Minor