From a0e830d9af296c2d5f081ad3a22a366168415525 Mon Sep 17 00:00:00 2001 From: Jeremy Felt Date: Wed, 22 Jul 2015 01:26:25 +0000 Subject: [PATCH] Nav Menus: Add a Menus title with Manage in Customizer button to nav-menus.php This aligns the `

` on `wp-admin/nav-menus.php` with that of other admin screens and aligns the "Manage in Customizer" button with that on `wp-admin/widgets.php`. Fixes #32808. Built from https://develop.svn.wordpress.org/trunk@33355 git-svn-id: http://core.svn.wordpress.org/trunk@33327 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/nav-menus.php | 31 +++++++++++++++++-------------- wp-includes/version.php | 2 +- 2 files changed, 18 insertions(+), 15 deletions(-) diff --git a/wp-admin/nav-menus.php b/wp-admin/nav-menus.php index 4c0f7bfbf1..f70826f8ff 100644 --- a/wp-admin/nav-menus.php +++ b/wp-admin/nav-menus.php @@ -558,26 +558,29 @@ get_current_screen()->set_help_sidebar( require_once( ABSPATH . 'wp-admin/admin-header.php' ); ?>
-

+

+ 'menu_locations' ) : array( 'panel' => 'nav_menus' ); + printf( + ' %2$s', + esc_url( add_query_arg( array( + array( 'autofocus' => $focus ), + 'return' => urlencode( wp_unslash( $_SERVER['REQUEST_URI'] ) ), + ), admin_url( 'customize.php' ) ) ), + __( 'Manage in Customizer' ) + ); + endif; + ?> +

+ +