[wp-trac] [WordPress Trac] #17195: Lazy load $wp_query->found_posts

WordPress Trac wp-trac at lists.automattic.com
Wed Apr 20 19:55:27 UTC 2011


#17195: Lazy load $wp_query->found_posts
-------------------------+-----------------
 Reporter:  scribu       |      Owner:
     Type:  enhancement  |     Status:  new
 Priority:  normal       |  Milestone:  3.2
Component:  Query        |    Version:
 Severity:  normal       |   Keywords:
-------------------------+-----------------
 prettyboymp in #10964:

 For the most part, the found posts result is only needed for the main loop
 where paging is involved, yet, most developers don't know to add the
 'no_found_rows' parameter to every single WP_Query request where they
 don't need paging.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/17195>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list