Add compatability for MU to is_multisite() - See #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@12661 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
cb192bb9c7
commit
edea19e9ae
@ -331,7 +331,7 @@ function is_admin() {
|
||||
* @return bool True if multisite is enabled, false otherwise.
|
||||
*/
|
||||
function is_multisite() {
|
||||
if ( defined('MULTISITE') )
|
||||
if ( defined('MULTISITE') || defined('VHOST') )
|
||||
return true;
|
||||
|
||||
return false;
|
||||
|
Loading…
Reference in New Issue
Block a user