[wp-trac] [WordPress Trac] #22993: Admin - users without a role are difficult to find
WordPress Trac
noreply at wordpress.org
Wed Dec 19 18:03:33 UTC 2012
#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: needs-patch ux-feedback |
-------------------------------------+------------------------------
Comment (by logikal16):
The first issue is within count_users(). By default, it uses a LIKE query
to see if the current role is within the serialized `wp_capabilities`
array. For users without roles, this won't work.
- A subscriber: `a:1:{s:10:"subscriber";b:1;}`
- A user with no role: `a:0:{}`
--
Ticket URL: <http://core.trac.wordpress.org/ticket/22993#comment:7>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list