[wp-trac] [WordPress Trac] #38741: Introduce the concept of a large site in order to speed up the Users screen when there are many users
WordPress Trac
noreply at wordpress.org
Fri Apr 1 10:21:35 UTC 2022
#38741: Introduce the concept of a large site in order to speed up the Users screen
when there are many users
-------------------------+-------------------------------------------------
Reporter: johnbillion | Owner: spacedmonkey
Type: enhancement | Status: reopened
Priority: normal | Milestone: 6.0
Component: Users | Version:
Severity: normal | Resolution:
Keywords: has-patch | Focuses: administration, multisite,
| performance
-------------------------+-------------------------------------------------
Comment (by tharsheblows):
`wp_dropdown_users()` is filterable and people (including me 😊 ) will be
using it even with large sites so it shouldn't be skipped.
What to do depends on the scope of this ticket -- I'm not sure if updating
`wp_dropdown_users()` is within scope or not, there is an open ticket here
#19867 so probably not.
Instead of doing the check on `wp_is_large_user_count()` in this patch:
https://github.com/WordPress/wordpress-develop/pull/2493/files , take out
both checks there (ie the patch and the reason for it). Then commit this
and work on the `wp_dropdown_users()` ticket above.
I think but am not completely 100% sure that that's the only place
`wp_is_large_user_count()` is used to conditionally load
`wp_dropdown_users()` but if there are more in this patch, remove those as
well.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/38741#comment:91>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list