From 78451503247db4640b9e697541f464c8eabbcaa5 Mon Sep 17 00:00:00 2001 From: Jeremy Felt Date: Wed, 22 Jul 2015 01:25:13 +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. git-svn-id: https://develop.svn.wordpress.org/trunk@33355 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/nav-menus.php | 31 +++++++++++++++++-------------- 1 file changed, 17 insertions(+), 14 deletions(-) diff --git a/src/wp-admin/nav-menus.php b/src/wp-admin/nav-menus.php index 4c0f7bfbf1..f70826f8ff 100644 --- a/src/wp-admin/nav-menus.php +++ b/src/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; + ?> +

+ +