WordPress/wp-includes
Boone Gorges c6d5f78241 Comments: Cache results of SELECT FOUND_ROWS() query.
When comment IDs are fetched from the cache rather than the database,
the subsequent `SELECT FOUND_ROWS()` query will not return the correct value.
To avoid unnecessary queries, we cache the results of the `found_comments`
query alongside the comment IDs.

Props spacedmonkey.
Fixes #37184.
Built from https://develop.svn.wordpress.org/trunk@38001


git-svn-id: http://core.svn.wordpress.org/trunk@37942 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-07-07 14:27:38 +00:00
..
2016-06-19 13:01:28 +00:00
2015-06-28 00:17:25 +00:00
2016-06-14 05:30:28 +00:00
2016-06-14 05:30:28 +00:00
2016-06-02 21:24:30 +00:00
2015-06-16 20:01:25 +00:00