[wp-trac] [WordPress Trac] #47838: Typo in class-walker-nav-menu-checklist.php

WordPress Trac noreply at wordpress.org
Tue Aug 6 08:19:03 UTC 2019


#47838: Typo in class-walker-nav-menu-checklist.php
----------------------------+-----------------------------------
 Reporter:  yanngarcia      |      Owner:  (none)
     Type:  defect (bug)    |     Status:  new
 Priority:  normal          |  Milestone:  Awaiting Review
Component:  Menus           |    Version:  trunk
 Severity:  minor           |   Keywords:  has-patch 2nd-opinion
  Focuses:  administration  |
----------------------------+-----------------------------------
 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.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/47838>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list