Make WordPress Core

Changeset 14036


Ignore:
Timestamp:
04/08/2010 02:39:17 AM (16 years ago)
Author:
nacin
Message:

Simplify logic in is_multisite().

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/load.php

    r14009 r14036  
    569569 */
    570570function is_multisite() {
    571         if ( defined( 'MULTISITE' ) && ! MULTISITE )
    572                 return false;
    573 
    574         if ( ( defined( 'MULTISITE' ) && MULTISITE ) || defined( 'VHOST' ) || defined( 'SUNRISE' ) )
     571        if ( defined( 'MULTISITE' ) )
     572                return MULTISITE;
     573
     574        if ( defined( 'VHOST' ) || defined( 'SUNRISE' ) )
    575575                return true;
    576576
Note: See TracChangeset for help on using the changeset viewer.