Opened 13 years ago
Closed 11 years ago
#18754 closed enhancement (fixed)
Add taxonomy argument to get_terms_orderby filter
Reported by: | johnbillion | Owned by: | nacin |
---|---|---|---|
Milestone: | 3.7 | Priority: | normal |
Severity: | normal | Version: | 3.3 |
Component: | Taxonomy | Keywords: | has-patch |
Focuses: | Cc: |
Description
The get_terms_orderby
filter in get_terms()
doesn't get passed the taxonomies parameter.
If a plugin wants to use the taxonomies parameter when filtering the terms order, it must also filter get_terms_args
and add the taxonomies argument to the $args array, so it can subsequently use it in the get_terms_orderby
filter.
Attachments (2)
Change History (10)
#4
@
11 years ago
18754.diff is a refresh, plus it passes $taxonomies
to the other filters used in get_terms()
(props nacin for pointing those out).
#5
@
11 years ago
- Owner set to nacin
- Resolution set to fixed
- Status changed from new to closed
In 25142:
#6
@
11 years ago
Not going to use the latter patch that passes $taxonomies
to the other filters too?
Note: See
TracTickets for help on using
tickets.
Patch