MS: Add "Settings" link under "Network Admin" toolbar menu.
Props johnjamesjacoby. Fixes #34287. git-svn-id: https://develop.svn.wordpress.org/trunk@35156 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
83fd029f6d
commit
224efdf892
@ -434,6 +434,12 @@ function wp_admin_bar_my_sites_menu( $wp_admin_bar ) {
|
|||||||
'title' => __( 'Plugins' ),
|
'title' => __( 'Plugins' ),
|
||||||
'href' => network_admin_url( 'plugins.php' ),
|
'href' => network_admin_url( 'plugins.php' ),
|
||||||
) );
|
) );
|
||||||
|
$wp_admin_bar->add_menu( array(
|
||||||
|
'parent' => 'network-admin',
|
||||||
|
'id' => 'network-admin-o',
|
||||||
|
'title' => __( 'Settings' ),
|
||||||
|
'href' => network_admin_url( 'settings.php' ),
|
||||||
|
) );
|
||||||
}
|
}
|
||||||
|
|
||||||
// Add site links
|
// Add site links
|
||||||
|
Loading…
Reference in New Issue
Block a user