[wp-trac] [WordPress Trac] #29785: User count not correct
WordPress Trac
noreply at wordpress.org
Thu May 26 16:19:44 UTC 2016
#29785: User count not correct
-------------------------------------------------+-------------------------
Reporter: psoluch | Owner:
Type: defect (bug) | boonebgorges
Priority: normal | Status: assigned
Component: Users | Milestone: Future
Severity: normal | Release
Keywords: needs-patch needs-unit-tests good- | Version:
first-bug | Resolution:
| Focuses:
| performance
-------------------------------------------------+-------------------------
Changes (by boonebgorges):
* keywords: has-patch dev-feedback => needs-patch needs-unit-tests good-
first-bug
* focuses: => performance
* milestone: Awaiting Review => Future Release
Comment:
Performance is one concern here, though I guess accuracy is more important
if the performance difference is not huge.
A simple join against the user table is probably not enough. Deleted and
spam users should not show up in the count. Neither should non-activated
users. We may need a different query for `is_multisite()` to handle these
cases. Unit tests would be helpful.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/29785#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list