Skip to content

Commit 8c01157

Browse files
I18N: Make default menu name translatable on the Menus screen.
Follow-up to [36379]. Props sainathpoojary, SergeyBiryukov. Fixes #63472. git-svn-id: https://develop.svn.wordpress.org/trunk@60245 602fd350-edb4-49c9-b593-d223f7449a82
1 parent c23c2d7 commit 8c01157

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/wp-admin/nav-menus.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1083,7 +1083,7 @@ function wp_nav_menu_max_depth( $classes ) {
10831083
$menu_name_aria_desc = $add_new_screen ? ' aria-describedby="menu-name-desc"' : '';
10841084

10851085
if ( $one_theme_location_no_menus ) {
1086-
$menu_name_val = 'value="' . esc_attr( 'Menu 1' ) . '"';
1086+
$menu_name_val = 'value="' . esc_attr__( 'Menu 1' ) . '"';
10871087
?>
10881088
<input type="hidden" name="zero-menu-state" value="true" />
10891089
<?php

0 commit comments

Comments
 (0)