From ecad6ae28cf0b9755945d1d6a09e807a43fba6a2 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Thu, 16 Sep 2021 21:30:36 +0000 Subject: [PATCH] Twenty Twenty-One: Add missing escaping for the "Secondary menu" label. Props muhammadfaizanhaidar, teucrium, sabernhardt, mukesh27, SergeyBiryukov. Fixes #54127. git-svn-id: https://develop.svn.wordpress.org/trunk@51820 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-content/themes/twentytwentyone/functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wp-content/themes/twentytwentyone/functions.php b/src/wp-content/themes/twentytwentyone/functions.php index df98fef838..74d1d339f5 100644 --- a/src/wp-content/themes/twentytwentyone/functions.php +++ b/src/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' ), ) );