Go to file
Jeremy Felt 32dfe766e8 Multisite: Add the `pre_get_blogs_of_user` filter
This allows a plugin to short circuit `get_blogs_of_user()` in cases where the default behavior of the function is unnecessary or slow. (e.g. A user is a member of thousands of sites.)

Props jsternberg.
See #31746, Fixes #36707.


git-svn-id: https://develop.svn.wordpress.org/trunk@37326 602fd350-edb4-49c9-b593-d223f7449a82
2016-04-29 15:52:34 +00:00
src Multisite: Add the `pre_get_blogs_of_user` filter 2016-04-29 15:52:34 +00:00
tests Query: Discard non-scalar 'm' instead of attempting to sanitize. 2016-04-29 13:14:18 +00:00
tools/i18n
.editorconfig
.gitignore
.jshintrc
.travis.yml Don't announce PR builds in Slack 2016-04-20 17:08:13 +00:00
Gruntfile.js
package.json
phpunit.xml.dist Tests: Exclude `ms-files` test group from default PHPUnit config 2016-04-20 17:10:21 +00:00
wp-cli.yml
wp-config-sample.php
wp-tests-config-sample.php