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:
Ron Rennick 2010-01-08 17:24:40 +00:00
parent cb192bb9c7
commit edea19e9ae

View File

@ -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;