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:
Dion Hulse
2016-01-06 06:11:46 +00:00
parent cd6cc5c7db
commit ce4ef49b10
3 changed files with 19 additions and 16 deletions

View File

@@ -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.
*