Changeset 19855
- Timestamp:
- 02/07/2012 06:35:29 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/admin-bar.php
r19712 r19855 249 249 ) ); 250 250 251 // We're on the front end, print a copy of the admin menu. 251 if ( is_blog_admin() && is_multisite() && current_user_can( 'manage_sites' ) ) { 252 $wp_admin_bar->add_menu( array( 253 'parent' => 'site-name', 254 'id' => 'edit-site', 255 'title' => __( 'Edit Site' ), 256 'href' => network_admin_url( 'site-info.php?id=' . get_current_blog_id() ), 257 ) ); 258 } 259 252 260 } else { 253 // Add the dashboard item.261 // We're on the front end, link to the Dashboard. 254 262 $wp_admin_bar->add_menu( array( 255 263 'parent' => 'site-name',
Note: See TracChangeset
for help on using the changeset viewer.