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:
parent
484aebcf5c
commit
1f04bb1bda
|
@ -647,7 +647,7 @@ function is_multisite() {
|
|||
if ( defined( 'MULTISITE' ) )
|
||||
return MULTISITE;
|
||||
|
||||
if ( defined( 'VHOST' ) || defined( 'SUNRISE' ) )
|
||||
if ( defined( 'SUBDOMAIN_INSTALL' ) || defined( 'VHOST' ) || defined( 'SUNRISE' ) )
|
||||
return true;
|
||||
|
||||
return false;
|
||||
|
|
Loading…
Reference in New Issue