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

WordPress Trac wp-trac at lists.automattic.com
Thu Oct 29 05:29:32 UTC 2009


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

Comment(by buch0090):

 Ok I've modified my original version so paging works...(see attached)
 please let me know if anybody runs into other issues. my site isn't using
 custom fields for get posts. and definitely isn't using the below issue
 Denis pointed out..

 ...
  there's another potential issue, I think... if a plugin adds a having
 clause on
  posts_request that uses calculated fields rather than raw field names,
 then this
  optimization may very well end up breaking the query.

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


More information about the wp-trac mailing list