mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-04-04 20:54:29 +00:00
Background Updates: Remove the 7am/7pm background update check. This check was made redundant by [28129] as background updates are now run after a version check takes place.
See #27772, #35323. git-svn-id: https://develop.svn.wordpress.org/trunk@36180 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -549,6 +549,9 @@ function upgrade_all() {
|
||||
if ( $wp_current_db_version < 35700 )
|
||||
upgrade_440();
|
||||
|
||||
if ( $wp_current_db_version < 36180 )
|
||||
upgrade_450();
|
||||
|
||||
maybe_disable_link_manager();
|
||||
|
||||
maybe_disable_automattic_widgets();
|
||||
@@ -1659,6 +1662,20 @@ function upgrade_440() {
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Execute changes made in WordPress 4.5.0
|
||||
*
|
||||
* @ignore
|
||||
* @since 4.5.0
|
||||
*
|
||||
* @global int $wp_current_db_version
|
||||
*/
|
||||
function upgrade_450() {
|
||||
global $wp_current_db_version;
|
||||
if ( $wp_current_db_version < 36180 )
|
||||
wp_clear_scheduled_hook( 'wp_maybe_auto_update' );
|
||||
}
|
||||
|
||||
/**
|
||||
* Executes network-level upgrade routines.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user