#44368 closed enhancement (fixed)
Use total users in WP_User_Query in WP_MS_Sites_List_Table
Reported by: | spacedmonkey | Owned by: | flixos90 |
---|---|---|---|
Milestone: | 5.1 | Priority: | normal |
Severity: | normal | Version: | 4.3 |
Component: | Networks and Sites | Keywords: | has-patch |
Focuses: | multisite | Cc: |
Description
Currently WP_MS_Sites_List_Table loads ALL user ids into an array and count them. This is extremely wasteful. The code can simply just the total users, that counts the rows in the database.
Attachments (1)
Change History (7)
Note: See
TracTickets for help on using
tickets.
Tested this and works great for me. Good find!