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

WordPress Trac noreply at wordpress.org
Sat Mar 12 01:21:45 UTC 2016


#36212: Empty menu items are deleted without warning
--------------------------------+-----------------------------
 Reporter:  cameronjonesweb     |      Owner:
     Type:  defect (bug)        |     Status:  new
 Priority:  normal              |  Milestone:  Awaiting Review
Component:  Menus               |    Version:  trunk
 Severity:  normal              |   Keywords:
  Focuses:  ui, administration  |
--------------------------------+-----------------------------
 I recently discovered that menu items with with an empty label are deleted
 from the menu upon save without any warning or notice. The particular
 situation was that I was adding a menu with an icon font for the items, so
 the labels were empty but had classes. Obviously a HTML comment can be
 used in this instance, but there should be some way to either communicate
 with the user that items with an empty label will be removed, disable
 saving of a menu with empty labels, or some way to handle empty labels
 without deleting the item.

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


More information about the wp-trac mailing list