[wp-trac] [WordPress Trac] #23261: Add include to orderby options for get_terms()

WordPress Trac noreply at wordpress.org
Tue Jan 22 05:10:44 UTC 2013


#23261: Add include to orderby options for get_terms()
-----------------------------+-------------------------
 Reporter:  wpsmith          |       Type:  enhancement
   Status:  new              |   Priority:  normal
Milestone:  Awaiting Review  |  Component:  Taxonomy
  Version:                   |   Severity:  normal
 Keywords:  has-patch        |
-----------------------------+-------------------------
 In light of WordPress 3.5 allowing WP_Query to orderby `post__in` (#21776,
 #13729), it would be awesome to have the same functionality for
 `get_terms()` and the `include` argument.

 Likewise (#13729), term queries can specify the posts to retrieve by
 passing an array of term IDs to the `include` parameter. There is no built
 in method for sorting those posts by the order specified.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/23261>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list