upgrade_670()
Executes changes made in WordPress 6.7.0.
No Hooks.
Returns
null. Nothing (null).
Usage
upgrade_670();
Notes
- Global. Int.
$wp_current_db_versionThe old (current) database version.
Changelog
| Since 6.7.0 | Introduced. |
upgrade_670() upgrade 670 code WP 7.0
function upgrade_670() {
global $wp_current_db_version;
if ( $wp_current_db_version < 58975 ) {
$options = array(
'recently_activated',
'_wp_suggested_policy_text_has_changed',
'dashboard_widget_options',
'ftp_credentials',
'adminhash',
'nav_menu_options',
'wp_force_deactivated_plugins',
'delete_blog_hash',
'allowedthemes',
'recovery_keys',
'https_detection_errors',
'fresh_site',
);
wp_set_options_autoload( $options, false );
}
}