Go to file
Jeremy Felt eb2ce329f1 Multisite: Cache `found_sites` and `max_num_pages` in `WP_Site_Query`.
This avoids a second uncached query used to determine found rows. Instead, we can cache the number of found sites and the max number of pages for reuse when the same query is requested in the future.

Props spacedmonkey.
See #35791.


git-svn-id: https://develop.svn.wordpress.org/trunk@37868 602fd350-edb4-49c9-b593-d223f7449a82
2016-06-26 12:45:29 +00:00
src Multisite: Cache `found_sites` and `max_num_pages` in `WP_Site_Query`. 2016-06-26 12:45:29 +00:00
tests Posts: Fix back-compat for filters in get the modified time and date functions after [37738]. 2016-06-26 11:29:13 +00:00
tools/i18n DOCS: Replace HTTP links with HTTPS. 2016-06-10 04:49:09 +00:00
.editorconfig
.gitignore
.jshintrc
.travis.yml Output node and npm versions on travis 2016-06-16 17:27:22 +00:00
Gruntfile.js Grunt: when running `precommit` use regex to check which files have been modified. 2016-06-19 12:31:15 +00:00
package.json Update grunt-patch-wordpress to 0.4.0 2016-06-01 21:24:09 +00:00
phpunit.xml.dist Set a whitelist for PHPUnit code coverage. 2016-05-17 20:22:57 +00:00
wp-cli.yml
wp-config-sample.php
wp-tests-config-sample.php Unit Tests: Correct comment in `wp-tests-config-sample.php`. 2016-01-21 20:24:12 +00:00