[wp-trac] [WordPress Trac] #33369: Cannot intelligently target using the `get_terms_args` filter
WordPress Trac
noreply at wordpress.org
Fri Aug 28 13:33:30 UTC 2015
#33369: Cannot intelligently target using the `get_terms_args` filter
-----------------------------------+------------------------------
Reporter: johnjamesjacoby | Owner:
Type: feature request | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Taxonomy | Version: 2.2
Severity: normal | Resolution:
Keywords: has-patch 2nd-opinion | Focuses:
-----------------------------------+------------------------------
Comment (by johnjamesjacoby):
Sorry that I haven't been able to more clearly describe what's wrong here.
The problem is there is no way, in a plugin, to know if `name` was
explicitly passed, or was fallen back to as the default.
I wrote a term-order plugin. I want to be able to orderby `term_order` by
default instead of `name` and still want `name` to be available as an
option if it's explicitly passed. As the code stands today, I cannot tell
the difference.
Does that help clarify?
--
Ticket URL: <https://core.trac.wordpress.org/ticket/33369#comment:11>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list