[wp-trac] [WordPress Trac] #12320: Obscur wp_reset_query() function inside widget Recent Posts

WordPress Trac wp-trac at lists.automattic.com
Sun Feb 21 19:10:31 UTC 2010


#12320: Obscur wp_reset_query() function  inside widget Recent Posts
--------------------------+-------------------------------------------------
 Reporter:  michelwppi    |       Owner:  azaozz                
     Type:  defect (bug)  |      Status:  new                   
 Priority:  normal        |   Milestone:  3.0                   
Component:  Widgets       |     Version:  2.9.2                 
 Severity:  normal        |    Keywords:  needs-patch query loop
--------------------------+-------------------------------------------------

Comment(by scribu):

 Oh, it seems it's already creating a separate query:

 {{{$r = new WP_Query(array('showposts' => $number, 'nopaging' => 0,
 'post_status' => 'publish', 'caller_get_posts' => 1));}}}

 Please describe the unwanted side effects you're experiencing.

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


More information about the wp-trac mailing list