WordPress.org

Make WordPress Core


Ignore:
Timestamp:
08/27/2016 02:36:42 PM (5 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-settings.php

    r38399 r38402  
    1717 */
    1818define( 'WPINC', 'wp-includes' );
    19 
    20 // WordPress Core PHP 5.2-compatible Autoloader
    21 require_once( ABSPATH . 'wp-vendor/autoload_52.php' );
    2219
    2320// Include files required for initialization.
     
    9794require( ABSPATH . WPINC . '/option.php' );
    9895require( ABSPATH . WPINC . '/functions.php' );
     96require( ABSPATH . WPINC . '/class-wp-matchesmapregex.php' );
     97require( ABSPATH . WPINC . '/class-wp.php' );
     98require( ABSPATH . WPINC . '/class-wp-error.php' );
    9999require( ABSPATH . WPINC . '/pomo/mo.php' );
     100require( ABSPATH . WPINC . '/class-phpass.php' );
    100101
    101102// Include the wpdb class and, if present, a db.php database drop-in.
     
    115116// Initialize multisite if enabled.
    116117if ( is_multisite() ) {
     118    require( ABSPATH . WPINC . '/class-wp-site-query.php' );
     119    require( ABSPATH . WPINC . '/class-wp-network-query.php' );
    117120    require( ABSPATH . WPINC . '/ms-blogs.php' );
    118121    require( ABSPATH . WPINC . '/ms-settings.php' );
     
    134137
    135138// Load most of WordPress.
     139require( ABSPATH . WPINC . '/class-wp-walker.php' );
     140require( ABSPATH . WPINC . '/class-wp-ajax-response.php' );
    136141require( ABSPATH . WPINC . '/formatting.php' );
    137142require( ABSPATH . WPINC . '/capabilities.php' );
     143require( ABSPATH . WPINC . '/class-wp-roles.php' );
     144require( ABSPATH . WPINC . '/class-wp-role.php' );
     145require( ABSPATH . WPINC . '/class-wp-user.php' );
     146require( ABSPATH . WPINC . '/class-wp-query.php' );
    138147require( ABSPATH . WPINC . '/query.php' );
     148require( ABSPATH . WPINC . '/date.php' );
    139149require( ABSPATH . WPINC . '/theme.php' );
     150require( ABSPATH . WPINC . '/class-wp-theme.php' );
    140151require( ABSPATH . WPINC . '/template.php' );
    141152require( ABSPATH . WPINC . '/user.php' );
     153require( ABSPATH . WPINC . '/class-wp-user-query.php' );
     154require( ABSPATH . WPINC . '/class-wp-session-tokens.php' );
     155require( ABSPATH . WPINC . '/class-wp-user-meta-session-tokens.php' );
    142156require( ABSPATH . WPINC . '/meta.php' );
     157require( ABSPATH . WPINC . '/class-wp-meta-query.php' );
     158require( ABSPATH . WPINC . '/class-wp-metadata-lazyloader.php' );
    143159require( ABSPATH . WPINC . '/general-template.php' );
    144160require( ABSPATH . WPINC . '/link-template.php' );
    145161require( ABSPATH . WPINC . '/author-template.php' );
    146162require( ABSPATH . WPINC . '/post.php' );
     163require( ABSPATH . WPINC . '/class-walker-page.php' );
     164require( ABSPATH . WPINC . '/class-walker-page-dropdown.php' );
     165require( ABSPATH . WPINC . '/class-wp-post-type.php' );
     166require( ABSPATH . WPINC . '/class-wp-post.php' );
    147167require( ABSPATH . WPINC . '/post-template.php' );
    148168require( ABSPATH . WPINC . '/revision.php' );
     
    150170require( ABSPATH . WPINC . '/post-thumbnail-template.php' );
    151171require( ABSPATH . WPINC . '/category.php' );
     172require( ABSPATH . WPINC . '/class-walker-category.php' );
     173require( ABSPATH . WPINC . '/class-walker-category-dropdown.php' );
    152174require( ABSPATH . WPINC . '/category-template.php' );
    153175require( ABSPATH . WPINC . '/comment.php' );
     176require( ABSPATH . WPINC . '/class-wp-comment.php' );
     177require( ABSPATH . WPINC . '/class-wp-comment-query.php' );
     178require( ABSPATH . WPINC . '/class-walker-comment.php' );
    154179require( ABSPATH . WPINC . '/comment-template.php' );
    155180require( ABSPATH . WPINC . '/rewrite.php' );
     181require( ABSPATH . WPINC . '/class-wp-rewrite.php' );
    156182require( ABSPATH . WPINC . '/feed.php' );
    157183require( ABSPATH . WPINC . '/bookmark.php' );
     
    162188require( ABSPATH . WPINC . '/script-loader.php' );
    163189require( ABSPATH . WPINC . '/taxonomy.php' );
     190require( ABSPATH . WPINC . '/class-wp-term.php' );
     191require( ABSPATH . WPINC . '/class-wp-term-query.php' );
     192require( ABSPATH . WPINC . '/class-wp-tax-query.php' );
    164193require( ABSPATH . WPINC . '/update.php' );
    165194require( ABSPATH . WPINC . '/canonical.php' );
    166195require( ABSPATH . WPINC . '/shortcodes.php' );
    167196require( ABSPATH . WPINC . '/embed.php' );
     197require( ABSPATH . WPINC . '/class-wp-embed.php' );
     198require( ABSPATH . WPINC . '/class-oembed.php' );
     199require( ABSPATH . WPINC . '/class-wp-oembed-controller.php' );
    168200require( ABSPATH . WPINC . '/media.php' );
    169201require( ABSPATH . WPINC . '/http.php' );
     202require( ABSPATH . WPINC . '/class-http.php' );
     203require( ABSPATH . WPINC . '/class-wp-http-streams.php' );
     204require( ABSPATH . WPINC . '/class-wp-http-curl.php' );
     205require( ABSPATH . WPINC . '/class-wp-http-proxy.php' );
     206require( ABSPATH . WPINC . '/class-wp-http-cookie.php' );
     207require( ABSPATH . WPINC . '/class-wp-http-encoding.php' );
     208require( ABSPATH . WPINC . '/class-wp-http-response.php' );
     209require( ABSPATH . WPINC . '/class-wp-http-requests-response.php' );
    170210require( ABSPATH . WPINC . '/widgets.php' );
     211require( ABSPATH . WPINC . '/class-wp-widget.php' );
     212require( ABSPATH . WPINC . '/class-wp-widget-factory.php' );
    171213require( ABSPATH . WPINC . '/nav-menu.php' );
    172214require( ABSPATH . WPINC . '/nav-menu-template.php' );
    173215require( ABSPATH . WPINC . '/admin-bar.php' );
    174216require( ABSPATH . WPINC . '/rest-api.php' );
     217require( ABSPATH . WPINC . '/rest-api/class-wp-rest-server.php' );
     218require( ABSPATH . WPINC . '/rest-api/class-wp-rest-response.php' );
     219require( ABSPATH . WPINC . '/rest-api/class-wp-rest-request.php' );
     220require( ABSPATH . WPINC . '/class-wp-locale.php' );
    175221
    176222$GLOBALS['wp_embed'] = new WP_Embed();
Note: See TracChangeset for help on using the changeset viewer.