WordPress.org

Make WordPress Core


Ignore:
Timestamp:
10/07/2010 07:34:18 PM (11 years ago)
Author:
ryan
Message:

First pass of user admin. Network admin and screen cleanups. see #14696

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/admin-bar.php

    r15696 r15746  
    110110    if ( !is_object( $wp_admin_bar ) )
    111111        return false;
    112 
    113     /* Remove the global dashboard */
    114     if ( is_multisite() ) {
    115         foreach ( (array) $wp_admin_bar->user->blogs as $key => $blog ) {
    116             if ( get_dashboard_blog() == $blog->domain )
    117                 unset( $wp_admin_bar->user->blogs[$key] );
    118         }
    119     }
    120112
    121113    /* Add the 'My Dashboards' menu if the user has more than one blog. */
Note: See TracChangeset for help on using the changeset viewer.