s/blog/site/. see #21742
git-svn-id: https://develop.svn.wordpress.org/trunk@21693 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
44b205c027
commit
ba5f7b35fd
|
@ -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