[wp-trac] [WordPress Trac] #10964: Improving query_posts performance

WordPress Trac wp-trac at lists.automattic.com
Thu Feb 25 15:45:08 UTC 2010


#10964: Improving query_posts performance
-------------------------+--------------------------------------------------
 Reporter:  buch0090     |       Owner:                  
     Type:  enhancement  |      Status:  new             
 Priority:  normal       |   Milestone:  3.0             
Component:  Performance  |     Version:  2.8.4           
 Severity:  normal       |    Keywords:  has-patch tested
-------------------------+--------------------------------------------------

Comment(by willmot):

 Also breaks querying by post_meta

 {{{
 WP_Query( 'meta_key=score&orderby=meta_value' );
 }}}

 Causes [Unknown column 'wp_postmeta.meta_value' in 'order clause']

 Again because the quick_request is being passed $order but not $join

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


More information about the wp-trac mailing list