Make WordPress Core


Ignore:
Timestamp:
06/30/2014 11:49:34 PM (10 years ago)
Author:
SergeyBiryukov
Message:

Move ms-load.php and ms-default-constants.php inclusion back to ms-settings.php to avoid breaking WP-CLI.

Use require_once() to allow for ms-settings.php to be included multiple times while testing.

props jeremyfelt.
see #27884.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-settings.php

    r28910 r28934  
    9292if ( is_multisite() ) {
    9393    require( ABSPATH . WPINC . '/ms-blogs.php' );
    94     /** Include Multisite initialization functions */
    95     require( ABSPATH . WPINC . '/ms-load.php' );
    96     require( ABSPATH . WPINC . '/ms-default-constants.php' );
    9794    require( ABSPATH . WPINC . '/ms-settings.php' );
    9895} elseif ( ! defined( 'MULTISITE' ) ) {
Note: See TracChangeset for help on using the changeset viewer.