[wp-trac] [WordPress Trac] #13797: get_terms orderby none bug

WordPress Trac wp-trac at lists.automattic.com
Wed Jun 9 17:56:17 UTC 2010


#13797: get_terms orderby none bug
--------------------------+-------------------------------------------------
 Reporter:  thomask       |       Owner:           
     Type:  defect (bug)  |      Status:  new      
 Priority:  normal        |   Milestone:  3.0      
Component:  Taxonomy      |     Version:  3.0      
 Severity:  trivial       |    Keywords:  has-patch
--------------------------+-------------------------------------------------

Comment(by ryan):

 It works fine here. wp_get_nav_menus() does this.  Ordering by t.term_id
 when you don't care about order can mean a pointless filesort for some
 taxonomy queries.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/13797#comment:1>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list