[wp-trac] [WordPress Trac] #36729: Empty original title in class-walker-nav-menu-edit.php custom menu item type

WordPress Trac noreply at wordpress.org
Mon Jul 4 20:15:50 UTC 2016


#36729: Empty original title in class-walker-nav-menu-edit.php custom menu item
type
--------------------------------------+----------------------
 Reporter:  grapplerulrich            |       Owner:  ocean90
     Type:  defect (bug)              |      Status:  closed
 Priority:  normal                    |   Milestone:  4.6
Component:  Menus                     |     Version:  3.0
 Severity:  normal                    |  Resolution:  fixed
 Keywords:  has-patch has-unit-tests  |     Focuses:  ui
--------------------------------------+----------------------
Changes (by ocean90):

 * owner:   => ocean90
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"37953"]:
 {{{
 #!CommitTicketReference repository="" revision="37953"
 Nav Menus: In `Walker_Nav_Menu_Edit::start_el()` initialize
 `$original_title` with `false`.

 Prevents displaying "Original:" without a title when adding a menu item
 without a title.

 Props grapplerulrich, swissspidy.
 Fixes #36729.
 }}}

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


More information about the wp-trac mailing list