[wp-trac] [WordPress Trac] #22993: Admin - users without a role are difficult to find
WordPress Trac
noreply at wordpress.org
Thu Oct 8 20:29:56 UTC 2015
#22993: Admin - users without a role are difficult to find
--------------------------------------+---------------------------------
Reporter: logikal16 | Owner: johnbillion
Type: defect (bug) | Status: assigned
Priority: normal | Milestone: 4.4
Component: Users | Version: 3.5
Severity: normal | Resolution:
Keywords: has-patch has-unit-tests | Focuses: ui, administration
--------------------------------------+---------------------------------
Comment (by johnbillion):
In [attachment:22993.4.diff]:
* `wp_get_norole_users()` is now `wp_get_users_with_no_role()`.
* Tests for `count_users()` and `wp_get_users_with_no_role()` on single
site and multisite.
I'm very happy with this patch. No additional queries are added to the
Users screen, unless you click the 'No role' link on a site which has some
users without a role. Multisite remains unaffected and doesn't show the
'No role' link anywhere.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/22993#comment:14>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list