[wp-trac] [WordPress Trac] #36212: Empty menu items are deleted without warning

WordPress Trac noreply at wordpress.org
Wed Sep 23 21:07:13 UTC 2020


#36212: Empty menu items are deleted without warning
---------------------------------------+---------------------------------
 Reporter:  cameronjonesweb            |       Owner:  audrasjb
     Type:  defect (bug)               |      Status:  accepted
 Priority:  normal                     |   Milestone:  5.6
Component:  Menus                      |     Version:
 Severity:  normal                     |  Resolution:
 Keywords:  has-patch has-screenshots  |     Focuses:  ui, administration
---------------------------------------+---------------------------------
Changes (by SergeyBiryukov):

 * keywords:  has-patch commit has-screenshots => has-patch has-screenshots


Comment:

 Haven't tried to reproduce the issue yet, but if the original problem
 we're trying to address here is that items marked as "(no title)" are
 removed on saving, then it seems like the outcome of this ticket should be
 to keep these items as is, without removing them or forcing them to have a
 title.

 Changing "(no title)" to something else seems more like a workaround
 rather than an actual solution.

 It could be that [attachment:"36212.3.diff"] is on the right path, it just
 needs someone to review the history of the affected code, see if the
 concerns it aims to address are still relevant, and whether it can be
 safely removed now without any backward compatibility breaks or other
 unintentional effects.

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


More information about the wp-trac mailing list