From 8feb26bcfe5b8d194a7cfa609f4b041a007efadd Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Thu, 16 Sep 2021 21:32:00 +0000 Subject: [PATCH] Twenty Twenty-One: Add missing escaping for the "Secondary menu" label. Props muhammadfaizanhaidar, teucrium, sabernhardt, mukesh27, SergeyBiryukov. Fixes #54127. Built from https://develop.svn.wordpress.org/trunk@51820 git-svn-id: http://core.svn.wordpress.org/trunk@51427 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-content/themes/twentytwentyone/functions.php | 2 +- wp-includes/version.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/wp-content/themes/twentytwentyone/functions.php b/wp-content/themes/twentytwentyone/functions.php index df98fef838..74d1d339f5 100644 --- a/wp-content/themes/twentytwentyone/functions.php +++ b/wp-content/themes/twentytwentyone/functions.php @@ -74,7 +74,7 @@ if ( ! function_exists( 'twenty_twenty_one_setup' ) ) { register_nav_menus( array( 'primary' => esc_html__( 'Primary menu', 'twentytwentyone' ), - 'footer' => __( 'Secondary menu', 'twentytwentyone' ), + 'footer' => esc_html__( 'Secondary menu', 'twentytwentyone' ), ) ); diff --git a/wp-includes/version.php b/wp-includes/version.php index c0266cc1e9..38d76c3b51 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '5.9-alpha-51819'; +$wp_version = '5.9-alpha-51820'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.