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

WordPress Trac noreply at wordpress.org
Thu Oct 3 20:02:39 UTC 2019


#47838: Typo in class-walker-nav-menu-checklist.php
-------------------------------------------------+-------------------------
 Reporter:  yanngarcia                           |       Owner:  desrosj
     Type:  defect (bug)                         |      Status:  reviewing
 Priority:  normal                               |   Milestone:  5.3
Component:  Menus                                |     Version:  trunk
 Severity:  minor                                |  Resolution:
 Keywords:  has-patch dev-feedback needs-dev-    |     Focuses:
  note                                           |  administration
-------------------------------------------------+-------------------------

Comment (by desrosj):

 In [changeset:"46380" 46380]:
 {{{
 #!CommitTicketReference repository="" revision="46380"
 Menus: Fix typo in the class attribute for the hidden `title` field in
 `Walker_Nav_Menu_Checklist`.

 Each item that `Walker_Nav_Menu_Checklist` displays is accompanied by
 several hidden `<input/>` fields that specify default values for each item
 when added to a menu. These values are passed in JavaScript to the AJAX
 call triggered when an item is added to a menu.

 The hidden field for the title attribute field incorrectly had an
 underscore instead of a hyphen. Because of this, it was impossible to
 supply a default value for the Title Attribute field of a nav menu item.

 Props yanngarcia, davidbaumwald.
 See #47838.
 }}}

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


More information about the wp-trac mailing list