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

WordPress Trac wp-trac at lists.automattic.com
Thu Aug 9 01:19:29 UTC 2012


#17195: Lazy load $wp_query->found_posts
-------------------------+----------------------
 Reporter:  scribu       |       Owner:
     Type:  enhancement  |      Status:  closed
 Priority:  normal       |   Milestone:
Component:  Query        |     Version:
 Severity:  normal       |  Resolution:  invalid
 Keywords:               |
-------------------------+----------------------
Changes (by scribu):

 * status:  new => closed
 * resolution:   => invalid
 * milestone:  Future Release =>


Comment:

 Actually, lazy loading found_posts isn't really possible since the query
 is dependent on the previously executed query, the one that contains
 SQL_CALC_FOUND_ROWS.

 Would have been nice, though.

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


More information about the wp-trac mailing list