[wp-trac] [WordPress Trac] #9153: wp_list_pages cannot handle multiple exclude_tree arguments
WordPress Trac
noreply at wordpress.org
Thu Mar 27 01:17:42 UTC 2014
#9153: wp_list_pages cannot handle multiple exclude_tree arguments
-------------------------------+-----------------------
Reporter: tbrams | Owner: tbrams
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 3.9
Component: Posts, Post Types | Version: 2.7
Severity: major | Resolution: fixed
Keywords: has-patch | Focuses: template
-------------------------------+-----------------------
Changes (by wonderboymusic):
* status: reopened => closed
* resolution: => fixed
Comment:
In [changeset:"27767"]:
{{{
#!CommitTicketReference repository="" revision="27767"
Use `wp_parse_id_list()` when parsing `exclude_tree` in `get_pages()`. Add
unit tests to ensure a URL string, array with string as value, and array
with array as value for `exclude_tree` can be used to specify multiple
IDs.
Props cgaffga, roothorick, hakre, tbrams for patches across the years.
Fixes #9153.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/9153#comment:50>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list