[wp-trac] [WordPress Trac] #17066: $wp_query->found_posts is set to 0 with posts_per_page=-1

WordPress Trac wp-trac at lists.automattic.com
Tue Sep 11 21:17:42 UTC 2012


#17066: $wp_query->found_posts is set to 0 with posts_per_page=-1
--------------------------+------------------------
 Reporter:  patrik bona   |       Owner:
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:
Component:  Query         |     Version:  3.1
 Severity:  normal        |  Resolution:  duplicate
 Keywords:  has-patch     |
--------------------------+------------------------
Changes (by wonderboymusic):

 * status:  new => closed
 * resolution:   => duplicate
 * milestone:  3.5 =>


Comment:

 Sergey's patch on #14426 does the trick

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


More information about the wp-trac mailing list