git-svn-id: http://svn.automattic.com/wordpress/trunk@19265 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
ac807f00fb
commit
06c5ce2278
|
@ -208,7 +208,7 @@ function wp_admin_bar_site_menu( $wp_admin_bar ) {
|
|||
return;
|
||||
|
||||
// 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;
|
||||
|
||||
$blogname = get_bloginfo('name');
|
||||
|
|
Loading…
Reference in New Issue