[wp-trac] Re: [WordPress Trac] #6523: get_terms() bug
WordPress Trac
wp-trac at lists.automattic.com
Tue Apr 1 19:57:05 GMT 2008
#6523: get_terms() bug
-------------------------------+--------------------------------------------
Reporter: Denis-de-Bernardy | Owner: anonymous
Type: defect | Status: closed
Priority: normal | Milestone: 2.5.1
Component: General | Version: 2.5
Severity: normal | Resolution: invalid
Keywords: |
-------------------------------+--------------------------------------------
Changes (by Otto42):
* status: new => closed
* resolution: => invalid
* severity: major => normal
Comment:
term_order is in the term_relationships table. Adding it to a possible
order field for get_terms doesn't make any sense, because get_terms gets
terms by taxonomy, not by a relationship with a post. The SELECT statement
in get_terms does not even include a JOIN to the term_relationships table
or a reference to it as "tr".
Marking this as invalid, because it makes no sense.
--
Ticket URL: <http://trac.wordpress.org/ticket/6523#comment:5>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list