[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
Mon May 5 19:25:37 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 | Keywords: needs-patch needs-unit-tests
Focuses: |
-----------------------------+------------------------------------------
When the first menu item is added to a menu and no position is explicitly
set, its position is set as 0 instead of 1.
Offending line: https://core.trac.wordpress.org/browser/tags/3.9/src/wp-
includes/nav-menu.php#L344
--
Ticket URL: <https://core.trac.wordpress.org/ticket/28140>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list