Make WordPress Core

Opened 6 weeks ago

Last modified 6 weeks ago

#47838 reviewing defect (bug)

Typo in class-walker-nav-menu-checklist.php

Reported by: yanngarcia Owned by: SergeyBiryukov
Milestone: 5.3 Priority: normal
Severity: minor Version: trunk
Component: Menus Keywords: has-patch 2nd-opinion
Focuses: administration Cc:


File: wp-admin\includes\class-walker-nav-menu-checklist.php:114

The name attribute of the "Title Attribute" hidden input ends with ...[menu-item-attr_title] and should ends with ...[menu-item-attr-title] (dash instead of underscore as expected in wp-admin\js\nav-menu.js and wp-admin\includes\nav-menu.php)

Found this typo by wanting to set a default title attribute to a menu item, using the filter 'wp_setup_nav_menu_item', but the input value is not sent/used because of the typo.

Attachments (1)

47838.patch (1.5 KB) - added by yanngarcia 6 weeks ago.
Typo fix

Download all attachments as: .zip

Change History (2)

6 weeks ago

Typo fix

#1 @SergeyBiryukov
6 weeks ago

  • Milestone changed from Awaiting Review to 5.3
  • Owner set to SergeyBiryukov
  • Status changed from new to reviewing
Note: See TracTickets for help on using tickets.