Make WordPress Core


Ignore:
Timestamp:
11/14/2013 04:03:27 AM (11 years ago)
Author:
dd32
Message:

Background Updates: Spread them over the hour. Props Pento. Fixes #25833 for trunk

File:
1 edited

Legend:

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

    r26120 r26149  
    406406        upgrade_370();
    407407
     408    if ( $wp_current_db_version < 26148 )
     409        upgrade_372();
     410
    408411    maybe_disable_link_manager();
    409412
     
    12211224    if ( $wp_current_db_version < 25824 )
    12221225        wp_clear_scheduled_hook( 'wp_auto_updates_maybe_update' );
     1226}
     1227
     1228/**
     1229 * Execute changes made in WordPress 3.7.2.
     1230 *
     1231 * @since 3.7.2
     1232 * @since 3.8.0
     1233 */
     1234function upgrade_372() {
     1235    global $wp_current_db_version;
     1236    if ( $wp_current_db_version < 26148 )
     1237        wp_clear_scheduled_hook( 'wp_maybe_auto_update' );
    12231238}
    12241239
Note: See TracChangeset for help on using the changeset viewer.