Opened 15 years ago
Closed 13 years ago
#18754 closed enhancement (fixed)
Add taxonomy argument to get_terms_orderby filter
| Reported by: | johnbillion | Owned by: | nacin |
|---|---|---|---|
| Priority: | normal | Milestone: | 3.7 |
| Component: | Taxonomy | Version: | 3.3 |
| Severity: | normal | Keywords: | has-patch |
| Cc: | Focuses: |
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
@
13 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).
#6
@
13 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.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Patch