[wp-trac] [WordPress Trac] #13037: Nav menu doesn't like when item is a child of itself

WordPress Trac wp-trac at lists.automattic.com
Sat May 1 14:20:37 UTC 2010


#13037: Nav menu doesn't like when item is a child of itself
-----------------------------+----------------------------------------------
 Reporter:  johnjamesjacoby  |       Owner:  ryan       
     Type:  defect (bug)     |      Status:  new        
 Priority:  high             |   Milestone:  3.0        
Component:  Menus            |     Version:  3.0        
 Severity:  normal           |    Keywords:  needs-patch
-----------------------------+----------------------------------------------

Comment(by duck_):

 The same problem is also encountered when trying to set an item as the
 child of another item but has the same ID (i.e. the same menu-item-object-
 id). An example of this is with Hello World post (id = 1) and
 Uncategorized (id = 1).

 Side note: issues also crop up with clashing IDs when you try to make a
 third item (say the About page) a child of the clashing item further down
 the menu:

 Start with:
 {{{
 - About
 - Hello World
 - Uncategorized
 }}}

 Move About to child of Uncategorized:
 {{{
 - Hello World
 - Uncategorized
 ---- About
 }}}

 Save, and you end up with:
 {{{
 - Hello World
 ---- About
 - Uncategorized
 }}}

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/13037#comment:6>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list