git-svn-id: https://develop.svn.wordpress.org/trunk@19265 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
38ddbaca4e
commit
9bcb0fcc08
|
@ -208,7 +208,7 @@ function wp_admin_bar_site_menu( $wp_admin_bar ) {
|
||||||
return;
|
return;
|
||||||
|
|
||||||
// Show only when the user is a member of this site, or they're a super admin.
|
// Show only when the user is a member of this site, or they're a super admin.
|
||||||
if ( ! is_user_member_of_blog( get_current_user_id(), get_current_blog_id() ) && ! is_super_admin() )
|
if ( ! is_user_member_of_blog() && ! is_super_admin() )
|
||||||
return;
|
return;
|
||||||
|
|
||||||
$blogname = get_bloginfo('name');
|
$blogname = get_bloginfo('name');
|
||||||
|
|
Loading…
Reference in New Issue