[wp-trac] [WordPress Trac] #9153: wp_list_pages cannot handle multiple exclude_tree arguments

WordPress Trac wp-trac at lists.automattic.com
Tue Jul 26 20:50:21 UTC 2011


#9153: wp_list_pages cannot handle multiple exclude_tree arguments
--------------------------+-----------------------------
 Reporter:  tbrams        |       Owner:  tbrams
     Type:  defect (bug)  |      Status:  reopened
 Priority:  normal        |   Milestone:  Future Release
Component:  Template      |     Version:  3.0
 Severity:  normal        |  Resolution:
 Keywords:  needs-patch   |
--------------------------+-----------------------------

Comment (by roothorick):

 I've re-read the comments, and now I'm just confused. I think I
 misinterpreted Denis' suggestion, but hakre's patches don't make sense to
 me. What DB call, exactly, are you optimizing out? get_page_children()
 doesn't call the DB.

 I'm now taking a closer look at get_page_children() to try to see what
 Denis was thinking. I may or may not produce a new patch.

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


More information about the wp-trac mailing list