Make WordPress Core


Ignore:
Timestamp:
08/31/2016 04:30:48 PM (8 years ago)
Author:
wonderboymusic
Message:

Bootstrap: do not go gentle into that good night r38411, r38412, and parts of r38389.

See #36335.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/update-core.php

    r38459 r38470  
    165165
    166166        if ( wp_http_supports( array( 'ssl' ) ) ) {
     167            require_once ABSPATH . 'wp-admin/includes/class-wp-upgrader.php';
    167168            $upgrader = new WP_Automatic_Updater;
    168169            $future_minor_update = (object) array(
     
    188189
    189190    if ( isset( $updates[0] ) && $updates[0]->response == 'development' ) {
     191        require_once ABSPATH . 'wp-admin/includes/class-wp-upgrader.php';
    190192        $upgrader = new WP_Automatic_Updater;
    191193        if ( wp_http_supports( 'ssl' ) && $upgrader->should_update( 'core', $updates[0], ABSPATH ) ) {
     
    433435    global $wp_filesystem;
    434436
     437    include_once( ABSPATH . 'wp-admin/includes/class-wp-upgrader.php' );
     438
    435439    if ( $reinstall )
    436440        $url = 'update-core.php?action=do-core-reinstall';
     
    703707
    704708    require_once( ABSPATH . 'wp-admin/admin-header.php' );
     709    include_once( ABSPATH . 'wp-admin/includes/class-wp-upgrader.php' );
    705710
    706711    $url = 'update-core.php?action=do-translation-upgrade';
Note: See TracChangeset for help on using the changeset viewer.