Changeset 15746 for trunk/wp-includes/admin-bar.php
- Timestamp:
- 10/07/2010 07:34:18 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/admin-bar.php
r15696 r15746 110 110 if ( !is_object( $wp_admin_bar ) ) 111 111 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 }120 112 121 113 /* Add the 'My Dashboards' menu if the user has more than one blog. */
Note: See TracChangeset
for help on using the changeset viewer.