[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:14:00 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:  fixed-major   |     Focuses:
--------------------------+---------------------------
Changes (by boonebgorges):

 * status:  reopened => closed
 * resolution:   => fixed


Comment:

 In [changeset:"36006"]:
 {{{
 #!CommitTicketReference repository="" revision="36006"
 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.

 Merges [36005] to the 4.4 branch.

 Props gblsm, hnle.
 Fixes #35156.
 }}}

--
Ticket URL: <https://core.trac.wordpress.org/ticket/35156#comment:11>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list