- fixed conditional logic with not selected default radio button;

This commit is contained in:
nikitozzzzzzz
2017-09-11 17:03:16 +03:00
parent 495f447b5c
commit c79e76ad25
3 changed files with 75 additions and 78 deletions
+12 -1
View File
@@ -64,10 +64,21 @@ if ( ! class_exists( 'Admin_Upgrade' ) ) {
}
closedir( $handle );
sort( $update_versions );
usort( $update_versions, array( &$this, 'version_compare_sort' ) );
$this->update_versions = $update_versions;
}
/**
* Sort versions by version compare function
* @param $a
* @param $b
* @return mixed
*/
function version_compare_sort( $a, $b ) {
return version_compare( $a, $b );
}
}
}