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
41 KiB
41 KiB