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/load.php

    r38399 r38402  
    395395    global $wpdb;
    396396
     397    require_once( ABSPATH . WPINC . '/wp-db.php' );
    397398    if ( file_exists( WP_CONTENT_DIR . '/db.php' ) )
    398399        require_once( WP_CONTENT_DIR . '/db.php' );
    399400
    400     if ( isset( $wpdb ) ) {
     401    if ( isset( $wpdb ) )
    401402        return;
    402     }
    403403
    404404    $wpdb = new wpdb( DB_USER, DB_PASSWORD, DB_NAME, DB_HOST );
Note: See TracChangeset for help on using the changeset viewer.