upgrade_590()
Executes changes made in WordPress 5.9.0.
No Hooks.
Return
null
. Nothing (null).
Usage
upgrade_590();
Notes
- Global. Int. $wp_current_db_version The old (current) database version.
Changelog
Since 5.9.0 | Introduced. |
upgrade_590() upgrade 590 code WP 6.5.2
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 ); } } }