Opened 9 years ago
Last modified 4 years ago
#33585 new enhancement
Improve wp_list_categories to support multiple taxonomies
Reported by: | bordoni | Owned by: | |
---|---|---|---|
Milestone: | Awaiting Review | Priority: | normal |
Severity: | normal | Version: | 2.3 |
Component: | Taxonomy | Keywords: | needs-patch |
Focuses: | Cc: |
Description
Hi folks, I was working on a plugin feature request and from what I see it's not possible to pass an array on the taxonomy
param from wp_list_categories
, which prevents multiple taxonomies to be fetched at once.
I wanted to know if I can work on this "enhancement" for version 4.4, should be an easy modification since get_terms
is an easy replacement for get_categories
.
Change History (4)
Note: See
TracTickets for help on using
tickets.
Hi @bordoni, thanks for creating the ticket and apologies it took such a long time to receive a response.
The ticket was discussed in a triage meeting in slack (viewing the conversation will require a Making WordPress slack account - https://wordpress.slack.com/archives/C02RQBWTW/p1591247379036400).
There were a few points noted in the meeting:
wp_list_terms
function for listing terms generically.wp_list_categories
could then be re-written to usewp_list_terms
.current_category
param was changed in 4.4 to accept an array, so there is some precedent for this kind of change.