[wp-trac] [WordPress Trac] #26708: menu_order support for get_terms orderby arguments

WordPress Trac noreply at wordpress.org
Fri Jan 17 18:44:26 UTC 2014


#26708: menu_order support for get_terms orderby arguments
-----------------------------+----------------------
 Reporter:  tubiz            |       Owner:
     Type:  feature request  |      Status:  closed
 Priority:  normal           |   Milestone:
Component:  Query            |     Version:  3.8
 Severity:  normal           |  Resolution:  wontfix
 Keywords:                   |
-----------------------------+----------------------
Changes (by wonderboymusic):

 * status:  new => closed
 * resolution:   => wontfix
 * milestone:  Awaiting Review =>


Comment:

 `get_terms()` does not join on `wp_term_relationships()`, so you would
 have to filter `'terms_clauses'` and write custom SQL logic to reach
 `term_order`, which can change based on which post the terms are related
 to. `get_terms()` is not intended to relate to specific posts.

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


More information about the wp-trac mailing list