Add compatability for MU to is_multisite() - See #11644
git-svn-id: http://svn.automattic.com/wordpress/trunk@12661 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
70d6691f15
commit
db46fa6e1d
|
@ -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