upgrade_590()
Executes changes made in WordPress 5.9.0.
No Hooks.
Returns
null. Nothing (null).
Usage
upgrade_590();
Notes
- Global. Int.
$wp_current_db_versionThe old (current) database version.
Changelog
| Since 5.9.0 | Introduced. |
upgrade_590() upgrade 590 code WP 7.0
function upgrade_590() {
global $wp_current_db_version;
if ( $wp_current_db_version < 51917 ) {
$crons = _get_cron_array();
if ( $crons && is_array( $crons ) ) {
// Remove errant `false` values, see #53950, #54906.
$crons = array_filter( $crons );
_set_cron_array( $crons );
}
}
}