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-includes/class-wp-customize-manager.php

    r38399 r38402  
    206206     */
    207207    public function __construct() {
     208        require_once( ABSPATH . WPINC . '/class-wp-customize-setting.php' );
     209        require_once( ABSPATH . WPINC . '/class-wp-customize-panel.php' );
     210        require_once( ABSPATH . WPINC . '/class-wp-customize-section.php' );
     211        require_once( ABSPATH . WPINC . '/class-wp-customize-control.php' );
     212
     213        require_once( ABSPATH . WPINC . '/customize/class-wp-customize-color-control.php' );
     214        require_once( ABSPATH . WPINC . '/customize/class-wp-customize-media-control.php' );
     215        require_once( ABSPATH . WPINC . '/customize/class-wp-customize-upload-control.php' );
     216        require_once( ABSPATH . WPINC . '/customize/class-wp-customize-image-control.php' );
     217        require_once( ABSPATH . WPINC . '/customize/class-wp-customize-background-image-control.php' );
     218        require_once( ABSPATH . WPINC . '/customize/class-wp-customize-cropped-image-control.php' );
     219        require_once( ABSPATH . WPINC . '/customize/class-wp-customize-site-icon-control.php' );
     220        require_once( ABSPATH . WPINC . '/customize/class-wp-customize-header-image-control.php' );
     221        require_once( ABSPATH . WPINC . '/customize/class-wp-customize-theme-control.php' );
     222        require_once( ABSPATH . WPINC . '/customize/class-wp-widget-area-customize-control.php' );
     223        require_once( ABSPATH . WPINC . '/customize/class-wp-widget-form-customize-control.php' );
     224        require_once( ABSPATH . WPINC . '/customize/class-wp-customize-nav-menu-control.php' );
     225        require_once( ABSPATH . WPINC . '/customize/class-wp-customize-nav-menu-item-control.php' );
     226        require_once( ABSPATH . WPINC . '/customize/class-wp-customize-nav-menu-location-control.php' );
     227        require_once( ABSPATH . WPINC . '/customize/class-wp-customize-nav-menu-name-control.php' );
     228        require_once( ABSPATH . WPINC . '/customize/class-wp-customize-nav-menu-auto-add-control.php' );
     229        require_once( ABSPATH . WPINC . '/customize/class-wp-customize-new-menu-control.php' );
     230
     231        require_once( ABSPATH . WPINC . '/customize/class-wp-customize-nav-menus-panel.php' );
     232
     233        require_once( ABSPATH . WPINC . '/customize/class-wp-customize-themes-section.php' );
     234        require_once( ABSPATH . WPINC . '/customize/class-wp-customize-sidebar-section.php' );
     235        require_once( ABSPATH . WPINC . '/customize/class-wp-customize-nav-menu-section.php' );
     236        require_once( ABSPATH . WPINC . '/customize/class-wp-customize-new-menu-section.php' );
     237
     238        require_once( ABSPATH . WPINC . '/customize/class-wp-customize-filter-setting.php' );
     239        require_once( ABSPATH . WPINC . '/customize/class-wp-customize-header-image-setting.php' );
     240        require_once( ABSPATH . WPINC . '/customize/class-wp-customize-background-image-setting.php' );
     241        require_once( ABSPATH . WPINC . '/customize/class-wp-customize-nav-menu-item-setting.php' );
     242        require_once( ABSPATH . WPINC . '/customize/class-wp-customize-nav-menu-setting.php' );
     243
    208244        /**
    209245         * Filters the core Customizer components to load.
     
    223259        $components = apply_filters( 'customize_loaded_components', $this->components, $this );
    224260
     261        require_once( ABSPATH . WPINC . '/customize/class-wp-customize-selective-refresh.php' );
    225262        $this->selective_refresh = new WP_Customize_Selective_Refresh( $this );
    226263
    227264        if ( in_array( 'widgets', $components, true ) ) {
     265            require_once( ABSPATH . WPINC . '/class-wp-customize-widgets.php' );
    228266            $this->widgets = new WP_Customize_Widgets( $this );
    229267        }
    230268
    231269        if ( in_array( 'nav_menus', $components, true ) ) {
     270            require_once( ABSPATH . WPINC . '/class-wp-customize-nav-menus.php' );
    232271            $this->nav_menus = new WP_Customize_Nav_Menus( $this );
    233272        }
Note: See TracChangeset for help on using the changeset viewer.