MS: Add "Settings" link under "Network Admin" toolbar menu.
Props johnjamesjacoby. Fixes #34287. Built from https://develop.svn.wordpress.org/trunk@35156 git-svn-id: http://core.svn.wordpress.org/trunk@35122 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
19eb905f58
commit
b9b7592ee8
|
@ -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
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @global string $wp_version
|
||||||
*/
|
*/
|
||||||
$wp_version = '4.4-alpha-35155';
|
$wp_version = '4.4-alpha-35156';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||||
|
|
Loading…
Reference in New Issue