[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 15:33:47 UTC 2015
#35156: wp_list_categories() does not accept comma-separated IDs for exclude_tree
parameter
--------------------------+------------------------------
Reporter: gblsm | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Taxonomy | Version: 4.4
Severity: normal | Resolution:
Keywords: | Focuses:
--------------------------+------------------------------
Comment (by tg29359):
The reference page of wp_list_categories() says that,
'exclude_tree'
(array|string) Array or comma/space-separated string of term IDs to
exclude, along with their descendants. See get_terms().
[https://developer.wordpress.org/reference/functions/wp_list_categories/]
I also think the behavior reported with this ticket does not match the
description of the reference.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/35156#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list