[wp-trac] Re: [WordPress Trac] #9153: wp_list_pages cannot handle
multiple exclude_tree arguments
WordPress Trac
wp-trac at lists.automattic.com
Tue Apr 28 22:55:00 GMT 2009
#9153: wp_list_pages cannot handle multiple exclude_tree arguments
-------------------------------------+--------------------------------------
Reporter: tbrams | Owner: tbrams
Type: defect (bug) | Status: reopened
Priority: normal | Milestone: 2.8
Component: General | Version: 2.7
Severity: normal | Resolution:
Keywords: has-patch needs-testing |
-------------------------------------+--------------------------------------
Comment(by hakre):
Database was already queried and since this is a exclude function only
comparing against ID and post_parent is necessary. That should do the
trick at first. Pages that are deeper then one level to an excluded ID are
not removed. But that would stress the Database as well (querying of all
pages must be done then to establish such a functionality).
--
Ticket URL: <http://core.trac.wordpress.org/ticket/9153#comment:10>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list