From bff91cfa5baea624846d34d9c21ecea5516a780c Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Sun, 28 Jun 2015 06:08:24 +0000 Subject: [PATCH] Menus: Add a Manage in Customizer link, like we did for Widgets screen in [30459]. props celloexpressions. fixes #32808. Built from https://develop.svn.wordpress.org/trunk@32985 git-svn-id: http://core.svn.wordpress.org/trunk@32956 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/nav-menus.php | 15 +++++++++++++++ wp-includes/version.php | 2 +- 2 files changed, 16 insertions(+), 1 deletion(-) diff --git a/wp-admin/nav-menus.php b/wp-admin/nav-menus.php index 8a3511b359..e839d267e9 100644 --- a/wp-admin/nav-menus.php +++ b/wp-admin/nav-menus.php @@ -563,6 +563,21 @@ require_once( ABSPATH . 'wp-admin/admin-header.php' ); + %2$s', + esc_url( add_query_arg( + array( + array( 'autofocus' => array( 'panel' => 'menus' ) ), + 'return' => urlencode( wp_unslash( $_SERVER['REQUEST_URI'] ) ) + ), + admin_url( 'customize.php' ) + ) ), + __( 'Manage in Customizer' ) + ); + } + ?>