[wp-trac] [WordPress Trac] #33369: Cannot intelligently target using the `get_terms_args` filter

WordPress Trac noreply at wordpress.org
Fri Aug 28 03:01:33 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 SergeyBiryukov):

 Adding more context to existing filters is generally fine, but I have the
 same concerns as @knutsp and @TimothyBlynJacobs.

 I'd expect `get_terms( 'mytax', array( 'orderby' => 'name' ) )` and
 `get_terms( 'mytax' )` to return consistent results, whether `'orderby' =>
 'name'` was passed explicitly or not.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/33369#comment:10>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list