Remove unused variable. props jeremyfelt. fixes #24893.
git-svn-id: https://develop.svn.wordpress.org/trunk@24987 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
6c4ccf3afc
commit
ed918bba93
@ -277,8 +277,6 @@ function wp_admin_bar_site_menu( $wp_admin_bar ) {
|
|||||||
* @since 3.1.0
|
* @since 3.1.0
|
||||||
*/
|
*/
|
||||||
function wp_admin_bar_my_sites_menu( $wp_admin_bar ) {
|
function wp_admin_bar_my_sites_menu( $wp_admin_bar ) {
|
||||||
global $wpdb;
|
|
||||||
|
|
||||||
// Don't show for logged out users or single site mode.
|
// Don't show for logged out users or single site mode.
|
||||||
if ( ! is_user_logged_in() || ! is_multisite() )
|
if ( ! is_user_logged_in() || ! is_multisite() )
|
||||||
return;
|
return;
|
||||||
|
Loading…
Reference in New Issue
Block a user