Ticket #27884: unit-hack.diff
File unit-hack.diff, 1.5 KB (added by , 11 years ago) |
---|
-
src/wp-includes/ms-settings.php
10 10 * @since 3.0.0 11 11 */ 12 12 13 /** Include Multisite initialization functions */14 require( ABSPATH . WPINC . '/ms-load.php' );15 require( ABSPATH . WPINC . '/ms-default-constants.php' );16 13 17 if ( defined( 'SUNRISE' ) )18 include_once( WP_CONTENT_DIR . '/sunrise.php' );19 14 20 /** Check for and define SUBDOMAIN_INSTALL and the deprecated VHOST constant. */21 ms_subdomain_constants();22 23 15 if ( !isset( $current_site ) || !isset( $current_blog ) ) { 24 16 25 17 // Given the domain and path, let's try to identify the network and site. -
src/wp-settings.php
91 91 // Initialize multisite if enabled. 92 92 if ( is_multisite() ) { 93 93 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' ); 97 98 if ( defined( 'SUNRISE' ) ) { 99 include_once( WP_CONTENT_DIR . '/sunrise.php' ); 100 } 101 102 /** Check for and define SUBDOMAIN_INSTALL and the deprecated VHOST constant. */ 103 ms_subdomain_constants(); 104 94 105 require( ABSPATH . WPINC . '/ms-settings.php' ); 95 106 } elseif ( ! defined( 'MULTISITE' ) ) { 96 107 define( 'MULTISITE', false );