Make WordPress Core


Ignore:
Timestamp:
01/06/2016 06:11:46 AM (9 years ago)
Author:
dd32
Message:

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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/upgrade.php

    r35966 r36180  
    549549    if ( $wp_current_db_version < 35700 )
    550550        upgrade_440();
     551
     552    if ( $wp_current_db_version < 36180 )
     553        upgrade_450();
    551554
    552555    maybe_disable_link_manager();
     
    16611664
    16621665/**
     1666 * Execute changes made in WordPress 4.5.0
     1667 *
     1668 * @ignore
     1669 * @since 4.5.0
     1670 *
     1671 * @global int $wp_current_db_version
     1672 */
     1673function upgrade_450() {
     1674    global $wp_current_db_version;
     1675    if ( $wp_current_db_version < 36180 )
     1676        wp_clear_scheduled_hook( 'wp_maybe_auto_update' );
     1677}
     1678
     1679/**
    16631680 * Executes network-level upgrade routines.
    16641681 *
Note: See TracChangeset for help on using the changeset viewer.