[wp-trac] [WordPress Trac] #28140: Position for first menu item on menu is 0 when it should be 1

WordPress Trac noreply at wordpress.org
Fri Aug 1 14:24:49 UTC 2014


#28140: Position for first menu item on menu is 0 when it should be 1
----------------------------------------+-----------------------------
 Reporter:  danielbachhuber             |       Owner:
     Type:  defect (bug)                |      Status:  new
 Priority:  normal                      |   Milestone:  Future Release
Component:  Menus                       |     Version:
 Severity:  normal                      |  Resolution:
 Keywords:  needs-unit-tests has-patch  |     Focuses:
----------------------------------------+-----------------------------
Changes (by danielbachhuber):

 * keywords:  needs-unit-tests has-patch reporter-feedback => needs-unit-
     tests has-patch


Comment:

 Because 0 is an invalid menu position and it breaks things?

 The historical context is in that pull request. I don't recall the exact
 specifics off the top of my head, but I vaguely remember that the
 positioning for a menu would be "0,2,3" without the hack (which broke
 other things).

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


More information about the wp-trac mailing list