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-includes/theme.php

    r38399 r38402  
    17571757
    17581758        if ( is_admin() ) {
     1759            require_once( ABSPATH . 'wp-admin/custom-header.php' );
    17591760            $custom_image_header = new Custom_Image_Header( $args[0]['admin-head-callback'], $args[0]['admin-preview-callback'] );
    17601761        }
     
    17691770
    17701771        if ( is_admin() ) {
     1772            require_once( ABSPATH . 'wp-admin/custom-background.php' );
    17711773            $custom_background = new Custom_Background( $args[0]['admin-head-callback'], $args[0]['admin-preview-callback'] );
    17721774        }
     
    20812083    }
    20822084
     2085    require_once ABSPATH . WPINC . '/class-wp-customize-manager.php';
    20832086    $GLOBALS['wp_customize'] = new WP_Customize_Manager();
    20842087}
Note: See TracChangeset for help on using the changeset viewer.