Make WordPress Core


Ignore:
Timestamp:
08/27/2016 02:36:42 PM (8 years ago)
Author:
dd32
Message:

Bootstrap: Revert [38399] as it's broken /build/ and subsequently core.svn.wordpress.org.

The generated classmaps reference /src/ files and operates in the assumption that the base directory is one level above wp-settings.php, which it isn't after our build processes are run.

See #36335

File:
1 edited

Legend:

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

    r38399 r38402  
    164164
    165165        if ( wp_http_supports( array( 'ssl' ) ) ) {
     166            require_once ABSPATH . 'wp-admin/includes/class-wp-upgrader.php';
    166167            $upgrader = new WP_Automatic_Updater;
    167168            $future_minor_update = (object) array(
     
    187188
    188189    if ( isset( $updates[0] ) && $updates[0]->response == 'development' ) {
     190        require_once ABSPATH . 'wp-admin/includes/class-wp-upgrader.php';
    189191        $upgrader = new WP_Automatic_Updater;
    190192        if ( wp_http_supports( 'ssl' ) && $upgrader->should_update( 'core', $updates[0], ABSPATH ) ) {
     
    437439    global $wp_filesystem;
    438440
     441    include_once( ABSPATH . 'wp-admin/includes/class-wp-upgrader.php' );
     442
    439443    if ( $reinstall )
    440444        $url = 'update-core.php?action=do-core-reinstall';
     
    707711
    708712    require_once( ABSPATH . 'wp-admin/admin-header.php' );
     713    include_once( ABSPATH . 'wp-admin/includes/class-wp-upgrader.php' );
    709714
    710715    $url = 'update-core.php?action=do-translation-upgrade';
Note: See TracChangeset for help on using the changeset viewer.