Changeset 12609 for trunk/wp-settings.php
- Timestamp:
- 01/06/2010 08:19:35 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-settings.php
r12393 r12609 321 321 if ( defined('WP_ADMIN') ) 322 322 return WP_ADMIN; 323 return false; 324 } 325 326 /** 327 * Whether Multisite support is enabled 328 * 329 * @since 3.0 330 * 331 * @return bool True if multisite is enabled, false otherwise. 332 */ 333 function is_multisite() { 334 if ( defined('MULTISITE') ) 335 return true; 336 323 337 return false; 324 338 } … … 389 403 require (ABSPATH . WPINC . '/widgets.php'); 390 404 405 if ( is_multisite() ) { 406 require_once( ABSPATH . WPINC . '/ms-functions.php' ); 407 require_once( ABSPATH . WPINC . '/ms-default-filters.php' ); 408 } 409 391 410 if ( !defined('WP_CONTENT_URL') ) 392 411 define( 'WP_CONTENT_URL', get_option('siteurl') . '/wp-content'); // full url - WP_CONTENT_DIR is defined further up
Note: See TracChangeset
for help on using the changeset viewer.