WordPress.org

Make WordPress Core


Ignore:
Timestamp:
08/27/2016 02:36:42 PM (4 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/includes/ajax-actions.php

    r38399 r38402  
    15081508    $args['pagenum'] = ! empty( $_POST['page'] ) ? absint( $_POST['page'] ) : 1;
    15091509
     1510    require(ABSPATH . WPINC . '/class-wp-editor.php');
    15101511    $results = _WP_Editors::wp_link_query( $args );
    15111512
     
    31373138function wp_ajax_press_this_save_post() {
    31383139    if ( empty( $GLOBALS['wp_press_this'] ) ) {
     3140        include( ABSPATH . 'wp-admin/includes/class-wp-press-this.php' );
    31393141        $GLOBALS['wp_press_this'] = new WP_Press_This();
    31403142    }
     
    31523154function wp_ajax_press_this_add_category() {
    31533155    if ( empty( $GLOBALS['wp_press_this'] ) ) {
     3156        include( ABSPATH . 'wp-admin/includes/class-wp-press-this.php' );
    31543157        $GLOBALS['wp_press_this'] = new WP_Press_This();
    31553158    }
     
    31813184    switch ( $context ) {
    31823185        case 'site-icon':
     3186            require_once ABSPATH . '/wp-admin/includes/class-wp-site-icon.php';
    31833187            $wp_site_icon = new WP_Site_Icon();
    31843188
     
    33293333    }
    33303334
     3335    include_once( ABSPATH . 'wp-admin/includes/class-wp-upgrader.php' );
    33313336    include_once( ABSPATH . 'wp-admin/includes/theme.php' );
    33323337
     
    34353440    }
    34363441
     3442    include_once( ABSPATH . 'wp-admin/includes/class-wp-upgrader.php' );
     3443
    34373444    $current = get_site_transient( 'update_themes' );
    34383445    if ( empty( $current ) ) {
     
    35843591    }
    35853592
     3593    include_once( ABSPATH . 'wp-admin/includes/class-wp-upgrader.php' );
    35863594    include_once( ABSPATH . 'wp-admin/includes/plugin-install.php' );
    35873595
     
    36913699    }
    36923700
     3701    include_once ABSPATH . 'wp-admin/includes/class-wp-upgrader.php';
     3702
    36933703    wp_update_plugins();
    36943704
Note: See TracChangeset for help on using the changeset viewer.