[wp-trac] [WordPress Trac] #37641: Support queries on `spam` and `deleted` fields in `WP_User_Query` on multisite
WordPress Trac
noreply at wordpress.org
Fri Aug 12 09:54:12 UTC 2016
#37641: Support queries on `spam` and `deleted` fields in `WP_User_Query` on
multisite
-------------------------+-----------------------------
Reporter: flixos90 | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Users | Version: 3.1
Severity: normal | Keywords: needs-patch
Focuses: multisite |
-------------------------+-----------------------------
The users database table on multisite contains two additional fields
`spam` and `deleted` which need to be queried in some cases. For example
the function `wp_update_network_user_counts()` makes a direct SQL query at
the moment, but that could be improved if `WP_User_Query` supported these
fields (only on multisite that is).
--
Ticket URL: <https://core.trac.wordpress.org/ticket/37641>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list