Site options page displays complete users list - no way of interaction
|Reported by:||mwidmann||Owned by:|
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.