From b9b7592ee8606eab9a4def274f816ef146e14273 Mon Sep 17 00:00:00 2001 From: Jeremy Felt Date: Wed, 14 Oct 2015 17:00:26 +0000 Subject: [PATCH] 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 --- wp-includes/admin-bar.php | 6 ++++++ wp-includes/version.php | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/wp-includes/admin-bar.php b/wp-includes/admin-bar.php index fbe341f300..e0dc5497fa 100644 --- a/wp-includes/admin-bar.php +++ b/wp-includes/admin-bar.php @@ -434,6 +434,12 @@ function wp_admin_bar_my_sites_menu( $wp_admin_bar ) { 'title' => __( 'Plugins' ), '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 diff --git a/wp-includes/version.php b/wp-includes/version.php index 91178aa721..60590b48fc 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @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.