[wp-trac] [WordPress Trac] #18754: Add taxonomy argument to get_terms_orderby filter
WordPress Trac
wp-trac at lists.automattic.com
Fri Sep 23 12:04:05 UTC 2011
#18754: Add taxonomy argument to get_terms_orderby filter
-------------------------+-----------------------------
Reporter: johnbillion | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Taxonomy | Version: 3.3
Severity: normal | Keywords:
-------------------------+-----------------------------
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.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/18754>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list