[wp-trac] [WordPress Trac] #25122: First nav menu automatically adds all pages (including sub pages) but doesn't preserve page hierarchy

WordPress Trac noreply at wordpress.org
Mon Sep 16 20:59:17 UTC 2013


#25122: First nav menu automatically adds all pages (including sub pages) but
doesn't preserve page hierarchy
------------------------------+------------------
 Reporter:  jamescollins      |       Owner:
     Type:  enhancement       |      Status:  new
 Priority:  normal            |   Milestone:  3.7
Component:  Menus             |     Version:  3.6
 Severity:  normal            |  Resolution:
 Keywords:  has-patch commit  |
------------------------------+------------------

Comment (by SergeyBiryukov):

 In [attachment:25122.3.diff], `parents()` can probably be replaced with
 `closest()`, since in turns out to be faster (per the
 [https://irclogs.wordpress.org/chanlog.php?channel=wordpress-
 dev&day=2013-09-13&sort=asc#m687663 IRC discussion] for #25112).

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


More information about the wp-trac mailing list