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

WordPress Trac wp-trac at lists.automattic.com
Thu Jul 28 11:18:41 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:  has-patch     |
--------------------------+-----------------------------

Comment (by Denis-de-Bernardy):

 > I think this is the optimization Denis is talking about.

 Looks like it...

 > Unless there's a magic SQL trick to recursively look up keys by
 parent...

 There is (that would be a [http://www.postgresql.org/docs/8.4/static
 /queries-with.html recursive with statement]), but not in MySQL:

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


More information about the wp-trac mailing list