Opened 8 weeks ago
Closed 8 weeks ago
#63472 closed defect (bug) (fixed)
Untranslatable default menu name in classic menus
Reported by: |
|
Owned by: |
|
---|---|---|---|
Milestone: | 6.9 | Priority: | normal |
Severity: | normal | Version: | 4.5 |
Component: | I18N | Keywords: | good-first-bug has-patch |
Focuses: | Cc: |
Description
There's a conditional in wp-admin/nav-menus.php
:
if ( $one_theme_location_no_menus ) { $menu_name_val = 'value="' . esc_attr( 'Menu 1' ) . '"'; ... }
esc_attr__()
should be used instead to make the name translatable.
Introduced in [36379].
Change History (2)
This ticket was mentioned in PR #8828 on WordPress/wordpress-develop by @sainathpoojary.
8 weeks ago
#1
- Keywords has-patch added; needs-patch removed
Note: See
TracTickets for help on using
tickets.
Trac ticket: #63472