Opened 14 years ago
Closed 14 years ago
#15142 closed defect (bug) (worksforme)
'orderby' => 'term_order' not working in wp_get_post_categories
Reported by: | johnnypea | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 3.0.1 |
Component: | Taxonomy | Keywords: | reporter-feedback |
Focuses: | Cc: |
Description
$args = array( 'fields' => 'all', 'orderby' => 'term_order', 'order' => 'DESC' ); $categories = wp_get_post_categories($post->ID, $args);
...this will not output the terms of the object ordered by the "term_order"
Change History (2)
Note: See
TracTickets for help on using
tickets.
Works fine for me on trunk.
The query generated by WordPress ->