Make WordPress Core


Ignore:
Timestamp:
08/27/2016 10:31:11 PM (9 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.php

    r38402 r38411  
    1212/** WordPress Administration Bootstrap */
    1313require_once( dirname( __FILE__ ) . '/admin.php' );
    14 
    15 include_once( ABSPATH . 'wp-admin/includes/class-wp-upgrader.php' );
    1614
    1715if ( isset($_GET['action']) ) {
     
    219217            wp_die( __( 'Sorry, you are not allowed to install themes on this site.' ) );
    220218
    221         include_once( ABSPATH . 'wp-admin/includes/class-wp-upgrader.php' ); //for themes_api..
    222 
    223219        check_admin_referer( 'install-theme_' . $theme );
    224220        $api = themes_api('theme_information', array('slug' => $theme, 'fields' => array('sections' => false, 'tags' => false) ) ); //Save on a bit of bandwidth.
Note: See TracChangeset for help on using the changeset viewer.