Also look for SUBDOMAIN_INSTALL in is_multisite(). props wpmuguru, fixes #14536 for trunk.

git-svn-id: http://svn.automattic.com/wordpress/trunk@15968 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
nacin 2010-10-26 03:45:13 +00:00
parent 484aebcf5c
commit 1f04bb1bda

View File

@ -647,7 +647,7 @@ function is_multisite() {
if ( defined( 'MULTISITE' ) ) if ( defined( 'MULTISITE' ) )
return MULTISITE; return MULTISITE;
if ( defined( 'VHOST' ) || defined( 'SUNRISE' ) ) if ( defined( 'SUBDOMAIN_INSTALL' ) || defined( 'VHOST' ) || defined( 'SUNRISE' ) )
return true; return true;
return false; return false;