is_blog_admin(). fixes #14763

git-svn-id: https://develop.svn.wordpress.org/trunk@15558 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren
2010-09-02 15:03:39 +00:00
parent 400c32dd13
commit b2351693de
2 changed files with 21 additions and 3 deletions

View File

@@ -14,8 +14,10 @@
if ( !defined('WP_ADMIN') )
define('WP_ADMIN', TRUE);
if ( !defined('WP_NETWORK_ADMIN') )
if ( !defined('WP_NETWORK_ADMIN') ) {
define('WP_NETWORK_ADMIN', FALSE);
define('WP_BLOG_ADMIN', TRUE);
}
if ( isset($_GET['import']) && !defined('WP_LOAD_IMPORTERS') )
define('WP_LOAD_IMPORTERS', true);