[wp-trac] [WordPress Trac] #12981: odd behavior of exclude_tree parameter in wp_list_categories()
WordPress Trac
noreply at wordpress.org
Tue Sep 29 19:11:14 UTC 2015
#12981: odd behavior of exclude_tree parameter in wp_list_categories()
--------------------------+---------------------
Reporter: tott | Owner: tott
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 4.4
Component: Taxonomy | Version: 3.0
Severity: normal | Resolution: fixed
Keywords: has-patch | Focuses:
--------------------------+---------------------
Changes (by boonebgorges):
* status: assigned => closed
* resolution: => fixed
Comment:
In [changeset:"34696"]:
{{{
#!CommitTicketReference repository="" revision="34696"
Fix 'exclude_tree' in `wp_list_categories()`.
The 'exclude_tree' parameter must be compatible with 'hierarchical';
previously, 'hierarchical' canceled it out. This changeset also makes it
so
that 'exclude_tree' is compatible with 'exclude'. When both are passed,
and
'hierarchical' is true, the descendant trees of terms in both parameters
will
be excluded from matched terms.
Props tott, webord, MikeHansenMe.
Fixes #12981.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/12981#comment:16>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list