upgrade_670()WP 6.7.0

Executes changes made in WordPress 6.7.0.

No Hooks.

Return

null. Nothing (null).

Usage

upgrade_670();

Notes

  • Global. Int. $wp_current_db_version The old (current) database version.

Changelog

Since 6.7.0 Introduced.

upgrade_670() code WP 6.8

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 );
	}
}