[wp-trac] [WordPress Trac] #22993: Admin - users without a role are difficult to find
WordPress Trac
noreply at wordpress.org
Fri Jan 31 21:08:42 UTC 2014
#22993: Admin - users without a role are difficult to find
-----------------------------------+------------------------------
Reporter: logikal16 | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Users | Version: 3.5
Severity: normal | Resolution:
Keywords: ux-feedback has-patch | Focuses:
-----------------------------------+------------------------------
Changes (by spmlucas):
* keywords: needs-patch ux-feedback => ux-feedback has-patch
Comment:
I'm new to core and this is my first patch attempt, so please be merciless
in your criticism, both of the patch itself the ticket update.
I left count_users() alone but I suppose it could also be easily updated
to include a count for users with no role if that's deemed necessary. Went
with a NOT REGEXP to find users with no role, even if they have other
capabilities defined. Have not tested in multisite, but have no reason to
believe it won't work there.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/22993#comment:10>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list