Ticket #11834: wp-settings.patch
| File wp-settings.patch, 1.5 KB (added by , 16 years ago) |
|---|
-
wp-settings.php
old new 89 89 return false; 90 90 91 91 // Load the l18n library. 92 require _once( ABSPATH . WPINC . '/l10n.php' );92 require ( ABSPATH . WPINC . '/l10n.php' ); 93 93 94 94 // Run the installer if WordPress is not installed. 95 95 wp_not_installed(); … … 128 128 129 129 // Load multisite-specific files. 130 130 if ( is_multisite() ) { 131 require _once( ABSPATH . WPINC . '/ms-functions.php' );132 require _once( ABSPATH . WPINC . '/ms-default-filters.php' );133 require _once( ABSPATH . WPINC . '/ms-deprecated.php' );131 require( ABSPATH . WPINC . '/ms-functions.php' ); 132 require( ABSPATH . WPINC . '/ms-default-filters.php' ); 133 require( ABSPATH . WPINC . '/ms-deprecated.php' ); 134 134 } 135 135 136 136 // Define constants that rely on the API to obtain the default value. … … 148 148 // Check site status if multisite. 149 149 if ( is_multisite() ) { 150 150 if ( true !== ( $file = ms_site_check() ) ) { 151 require _once( $file );151 require( $file ); 152 152 die(); 153 153 } 154 154 unset($file); … … 242 242 $locale = get_locale(); 243 243 $locale_file = WP_LANG_DIR . "/$locale.php"; 244 244 if ( is_readable( $locale_file ) ) 245 require _once( $locale_file );245 require( $locale_file ); 246 246 unset($locale_file); 247 247 248 248 // Pull in locale data after loading text domain. 249 require _once( ABSPATH . WPINC . '/locale.php' );249 require( ABSPATH . WPINC . '/locale.php' ); 250 250 251 251 /** 252 252 * WordPress Locale object for loading locale domain date and various strings.