upgrade_370()WP 3.7.0

Execute changes made in WordPress 3.7.

No Hooks.

Return

null. Nothing (null).

Usage

upgrade_370();

Notes

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

Changelog

Since 3.7.0 Introduced.

upgrade_370() code WP 6.5.2

function upgrade_370() {
	global $wp_current_db_version;

	if ( $wp_current_db_version < 25824 ) {
		wp_clear_scheduled_hook( 'wp_auto_updates_maybe_update' );
	}
}