mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-22 17:18:32 +01:00
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
Block a user