[wp-trac] [WordPress Trac] #37184: Stop FOUND_ROWS running in comment query is cached

WordPress Trac noreply at wordpress.org
Wed Jun 29 17:27:23 UTC 2016


#37184: Stop FOUND_ROWS running in comment query is cached
----------------------------------------+---------------------------
 Reporter:  spacedmonkey                |       Owner:  boonebgorges
     Type:  defect (bug)                |      Status:  reviewing
 Priority:  normal                      |   Milestone:  4.6
Component:  Comments                    |     Version:  4.4
 Severity:  normal                      |  Resolution:
 Keywords:  has-patch needs-unit-tests  |     Focuses:
----------------------------------------+---------------------------

Comment (by spacedmonkey):

 We save max pages as it is only generated when no_found_rows is set to
 false. Please see this comment [37868] where we have done the same in
 WP_Site_Query.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/37184#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list