[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
Sat Jun 9 14:58:18 UTC 2018
#38741: Introduce the concept of a large site in order to speed up the Users screen
when there are many users
-------------------------------------+-------------------------------------
Reporter: johnbillion | Owner: johnbillion
Type: enhancement | Status: accepted
Priority: normal | Milestone: 5.0
Component: Users | Version:
Severity: normal | Resolution:
Keywords: early has-patch dev- | Focuses: administration,
feedback needs-testing | multisite, performance
-------------------------------------+-------------------------------------
Comment (by spacedmonkey):
I agree. Here is what I think we should do.
We should deprecate `get_user_count` as it currently allows for
`network_id` to be passed. It is confusing in a single site context. We
should remove all references (there is only 4 in code).
Introduce `wp_get_user_count` function, that doesn't have any params on
it. This fixes the naming issues and is a valid reason to get rid of the
`get_user_count`.
When I get a minute, I will update the patch.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/38741#comment:40>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list