[wp-trac] [WordPress Trac] #35156: wp_list_categories() does not accept comma-separated IDs for exclude_tree parameter
WordPress Trac
noreply at wordpress.org
Fri Dec 18 18:11:46 UTC 2015
#35156: wp_list_categories() does not accept comma-separated IDs for exclude_tree
parameter
--------------------------------------+---------------------------
Reporter: gblsm | Owner: boonebgorges
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 4.4.1
Component: Taxonomy | Version: 4.4
Severity: normal | Resolution: fixed
Keywords: has-patch has-unit-tests | Focuses:
--------------------------------------+---------------------------
Changes (by boonebgorges):
* status: assigned => closed
* resolution: => fixed
Comment:
In [changeset:"36005"]:
{{{
#!CommitTicketReference repository="" revision="36005"
Ensure that `wp_list_categories()` supports comma-separated lists for
'exclude' and 'exclude_tree'.
[34696] introduced a regression whereby comma-separated values for
'exclude'
and 'exclude_tree' would be handled improperly when merging the two
parameters,
resulting in category IDs being incorrectly dropped from the combined
array.
Props gblsm, hnle.
Fixes #35156.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/35156#comment:9>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list