Make WordPress Core


Ignore:
Timestamp:
08/27/2016 10:31:11 PM (8 years ago)
Author:
wonderboymusic
Message:

Bootstrap: after r38409 and r38410, revert r38402 which reverted r38399.

This fixes the paths in wp-vendor/ that were including src. I want to drop this in so we can find out what else will break.

See #36335.

File:
1 edited

Legend:

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

    r38402 r38411  
    164164
    165165        if ( wp_http_supports( array( 'ssl' ) ) ) {
    166             require_once ABSPATH . 'wp-admin/includes/class-wp-upgrader.php';
    167166            $upgrader = new WP_Automatic_Updater;
    168167            $future_minor_update = (object) array(
     
    188187
    189188    if ( isset( $updates[0] ) && $updates[0]->response == 'development' ) {
    190         require_once ABSPATH . 'wp-admin/includes/class-wp-upgrader.php';
    191189        $upgrader = new WP_Automatic_Updater;
    192190        if ( wp_http_supports( 'ssl' ) && $upgrader->should_update( 'core', $updates[0], ABSPATH ) ) {
     
    439437    global $wp_filesystem;
    440438
    441     include_once( ABSPATH . 'wp-admin/includes/class-wp-upgrader.php' );
    442 
    443439    if ( $reinstall )
    444440        $url = 'update-core.php?action=do-core-reinstall';
     
    711707
    712708    require_once( ABSPATH . 'wp-admin/admin-header.php' );
    713     include_once( ABSPATH . 'wp-admin/includes/class-wp-upgrader.php' );
    714709
    715710    $url = 'update-core.php?action=do-translation-upgrade';
Note: See TracChangeset for help on using the changeset viewer.