[wp-trac] [WordPress Trac] #36707: Add pre_get_blogs_of_user filter.
WordPress Trac
noreply at wordpress.org
Fri Apr 29 15:52:38 UTC 2016
#36707: Add pre_get_blogs_of_user filter.
--------------------------------------+-------------------------
Reporter: nerrad | Owner: jeremyfelt
Type: enhancement | Status: closed
Priority: normal | Milestone: 4.6
Component: Users | Version: 3.0
Severity: normal | Resolution: fixed
Keywords: has-patch has-unit-tests | Focuses: multisite
--------------------------------------+-------------------------
Changes (by jeremyfelt):
* status: reviewing => closed
* resolution: => fixed
Comment:
In [changeset:"37326"]:
{{{
#!CommitTicketReference repository="" revision="37326"
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.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/36707#comment:7>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list