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.

Built from https://develop.svn.wordpress.org/trunk@37326


git-svn-id: http://core.svn.wordpress.org/trunk@37292 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Jeremy Felt
2016-04-29 15:53:28 +00:00
parent 5efc557eb8
commit 2e94a24e25
2 changed files with 20 additions and 1 deletions

View File

@@ -4,7 +4,7 @@
*
* @global string $wp_version
*/
$wp_version = '4.6-alpha-37325';
$wp_version = '4.6-alpha-37326';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.