[wp-trac] [WordPress Trac] #13989: Recent Comments widget optimization

WordPress Trac wp-trac at lists.automattic.com
Thu Oct 28 12:21:49 UTC 2010


#13989: Recent Comments widget optimization
--------------------------+-------------------------------------------------
 Reporter:  dd32          |       Owner:                
     Type:  enhancement   |      Status:  new           
 Priority:  normal        |   Milestone:  Future Release
Component:  Optimization  |     Version:  3.0           
 Severity:  normal        |    Keywords:  needs-patch   
--------------------------+-------------------------------------------------
Changes (by nacin):

  * keywords:  has-patch => needs-patch
  * milestone:  Awaiting Triage => Future Release


Comment:

 In menus, we used a straight get_posts call:
 {{{
 get_posts( array('post__in' => $posts[$post_type], 'post_type' =>
 $post_type, 'nopaging' => true, 'update_post_term_cache' => false) );
 }}}

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


More information about the wp-trac mailing list