[wp-trac] [WordPress Trac] #18536: Improve performance of WP_Query core

WordPress Trac wp-trac at lists.automattic.com
Tue Feb 7 17:57:42 UTC 2012


#18536: Improve performance of WP_Query core
-------------------------------------------+------------------
 Reporter:  cheald                         |       Owner:
     Type:  task (blessed)                 |      Status:  new
 Priority:  normal                         |   Milestone:  3.4
Component:  Performance                    |     Version:
 Severity:  normal                         |  Resolution:
 Keywords:  early has-patch needs-testing  |
-------------------------------------------+------------------

Comment (by scribu):

 Replying to [comment:62 ryan]:
 > See advanced-post-cache.php, which does not change the query, but uses
 it in ways that will break with the new query style.

 But it does change it:

 {{{
   if ( $uncached_post_ids )
     return "SELECT * FROM $wpdb->posts WHERE ID IN(" . join( ',',
 array_map( 'absint', $uncached_post_ids ) ) . ")";
   return '';
 }}}

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


More information about the wp-trac mailing list