diff --git a/wp-includes/load.php b/wp-includes/load.php index cd6c9f5f2..4a8a13102 100644 --- a/wp-includes/load.php +++ b/wp-includes/load.php @@ -568,10 +568,10 @@ function is_admin() { * @return bool True if multisite is enabled, false otherwise. */ function is_multisite() { - if ( defined( 'MULTISITE' ) && ! MULTISITE ) - return false; + if ( defined( 'MULTISITE' ) ) + return MULTISITE; - if ( ( defined( 'MULTISITE' ) && MULTISITE ) || defined( 'VHOST' ) || defined( 'SUNRISE' ) ) + if ( defined( 'VHOST' ) || defined( 'SUNRISE' ) ) return true; return false;