[wp-trac] [WordPress Trac] #13713: get_terms orderby=none and order=DESC don't work together
WordPress Trac
wp-trac at lists.automattic.com
Sun Jun 6 11:40:46 UTC 2010
#13713: get_terms orderby=none and order=DESC don't work together
----------------------------+-----------------------------------------------
Reporter: pampfelimetten | Owner:
Type: defect (bug) | Status: closed
Priority: low | Milestone:
Component: Taxonomy | Version: 3.0
Severity: normal | Resolution: wontfix
Keywords: |
----------------------------+-----------------------------------------------
Changes (by dd32):
* status: new => closed
* resolution: => wontfix
* milestone: 3.1 =>
Comment:
I'm inclined to agree here.
If you want to order by the Term ID, you can either set it to an empty
string (back-compat) or, preferably, set the orderby to 'id'
This is due to [14563], orderby=none was undefined before, and would
simply fallback to ordering by ID. In 3.0, orderby=none has been
implemented, as literally, order by nothing, This optimizes queries which
can benefit from it.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/13713#comment:2>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list