Ticket #18188: 18188.diff
File 18188.diff, 802 bytes (added by , 13 years ago) |
---|
-
wp-includes/admin-bar.php
248 248 'href' => home_url( '/' ), 249 249 ) ); 250 250 251 // We're on the front end, print a copy of the admin menu. 251 if ( is_blog_admin() && is_super_admin() && is_multisite() ) { 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', 256 264 'id' => 'dashboard',