[wp-trac] [WordPress Trac] #30765: Menu with only one item shows "Move" text but no direction

WordPress Trac noreply at wordpress.org
Wed Dec 24 08:25:26 UTC 2014


#30765: Menu with only one item shows "Move" text but no direction
--------------------------------------+------------------
 Reporter:  Ipstenu                   |       Owner:
     Type:  defect (bug)              |      Status:  new
 Priority:  normal                    |   Milestone:  4.2
Component:  Menus                     |     Version:  3.6
 Severity:  minor                     |  Resolution:
 Keywords:  good-first-bug has-patch  |     Focuses:
--------------------------------------+------------------
Changes (by kucrut):

 * keywords:  good-first-bug => good-first-bug has-patch


Comment:

 [https://core.trac.wordpress.org/attachment/ticket/30765/30765.diff
 30765.diff] hides the `.field-move` altogether when there's only one menu
 item. It also make sure that the texts are updated when a menu item is
 removed.

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


More information about the wp-trac mailing list