From d3aa41cf19f5374b5edf60079c94c69bd8bed34c Mon Sep 17 00:00:00 2001 From: Andrea Fercia Date: Wed, 7 Dec 2016 23:46:22 +0000 Subject: [PATCH] Accessibility: Remove inappropriate content from the Menus screen heading. See #26601. git-svn-id: https://develop.svn.wordpress.org/trunk@39543 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/nav-menus.php | 32 +++++++++++++++++--------------- 1 file changed, 17 insertions(+), 15 deletions(-) diff --git a/src/wp-admin/nav-menus.php b/src/wp-admin/nav-menus.php index 19348c2348..974d910d20 100644 --- a/src/wp-admin/nav-menus.php +++ b/src/wp-admin/nav-menus.php @@ -576,21 +576,23 @@ 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 with Live Preview' ) - ); - endif; - ?> -

+

+ '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 with Live Preview' ) + ); + endif; + ?> + +
+