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:
wpmuguru 2010-01-08 17:24:40 +00:00
parent 70d6691f15
commit db46fa6e1d
1 changed files with 1 additions and 1 deletions

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;