Changeset 31981
- Timestamp:
- 04/02/2015 05:26:22 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/admin-bar.php
r31533 r31981 330 330 return; 331 331 332 if ( $wp_admin_bar->user->active_blog ) { 333 $my_sites_url = get_admin_url( $wp_admin_bar->user->active_blog->blog_id, 'my-sites.php' ); 334 } else { 335 $my_sites_url = admin_url( 'my-sites.php' ); 336 } 337 332 338 $wp_admin_bar->add_menu( array( 333 339 'id' => 'my-sites', 334 340 'title' => __( 'My Sites' ), 335 'href' => get_admin_url( $wp_admin_bar->user->active_blog->blog_id, 'my-sites.php' ),341 'href' => $my_sites_url, 336 342 ) ); 337 343
Note: See TracChangeset
for help on using the changeset viewer.