Ticket #19535: 19535.patch
| File 19535.patch, 570 bytes (added by , 14 years ago) |
|---|
-
wp-includes/admin-bar.php
275 275 if ( ! is_user_logged_in() || ! is_multisite() ) 276 276 return; 277 277 278 // Show only when the user has at leastone site, or they're a super admin.279 if ( count( $wp_admin_bar->user->blogs ) < 1 && ! is_super_admin() )278 // Show only when the user has more than one site, or they're a super admin. 279 if ( count( $wp_admin_bar->user->blogs ) <= 1 && ! is_super_admin() ) 280 280 return; 281 281 282 282 $wp_admin_bar->add_menu( array(