s/blog/site/. see #21742
git-svn-id: http://core.svn.wordpress.org/trunk@21693 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
b9bbe5bb99
commit
37a631387c
|
@ -603,7 +603,7 @@ function is_admin() {
|
|||
*/
|
||||
function is_blog_admin() {
|
||||
if ( isset( $GLOBALS['current_screen'] ) )
|
||||
return $GLOBALS['current_screen']->in_admin( 'blog' );
|
||||
return $GLOBALS['current_screen']->in_admin( 'site' );
|
||||
elseif ( defined( 'WP_BLOG_ADMIN' ) )
|
||||
return WP_BLOG_ADMIN;
|
||||
|
||||
|
|
Loading…
Reference in New Issue