[wp-trac] [WordPress Trac] #15053: Site options page displays complete users list - no way of interaction
WordPress Trac
wp-trac at lists.automattic.com
Thu Oct 7 12:08:18 UTC 2010
#15053: Site options page displays complete users list - no way of interaction
-------------------------+--------------------------------------------------
Reporter: mwidmann | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Multisite | Version: 3.0.1
Severity: major | Keywords:
-------------------------+--------------------------------------------------
I have ~4k users in a multisite site. Accessing the site options for this
site displays ALL users of the site. This is very slow and takes many
resources I don't need.
Neither the {{{ms-sites.php}}} nor {{{get_users_of_blog( $id )}}} offers a
way of changing this behavior by applying filters or actions.
The only way I can apply changes atm is to apply a filter to
{{{$wpdb->query()}}}'s {{{query}}} , which imo is not very elegant and
would mean too much overhead.
The best solution would be to add a filter to define what
{{{get_users_of_blog}}} queries.
Changing the behavior would require to re-think the whole workflow of
changing the roles for users on sites in a multisite environment. Maybe by
adding functionality to the edit user pane.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/15053>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list