Menus: Add missing escaping function in Admin Menu walker.

Props aniketpatel, mukesh27, costdev.
Fixes #57541.

Built from https://develop.svn.wordpress.org/trunk@55135


git-svn-id: http://core.svn.wordpress.org/trunk@54668 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
audrasjb 2023-01-24 21:32:14 +00:00
parent 0cdd1f8069
commit a0b0f4560b
2 changed files with 2 additions and 2 deletions

View File

@ -180,7 +180,7 @@ class Walker_Nav_Menu_Edit extends Walker_Nav_Menu {
printf(
'<a class="item-edit" id="edit-%s" href="%s" aria-label="%s"><span class="screen-reader-text">%s</span></a>',
$item_id,
$edit_url,
esc_url( $edit_url ),
esc_attr__( 'Edit menu item' ),
__( 'Edit' )
);

View File

@ -16,7 +16,7 @@
*
* @global string $wp_version
*/
$wp_version = '6.2-alpha-55134';
$wp_version = '6.2-alpha-55135';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.