[wp-trac] [WordPress Trac] #17394: Network Admin -> Sites -> Users not report correctly

WordPress Trac wp-trac at lists.automattic.com
Fri May 13 01:18:50 UTC 2011


#17394: Network Admin -> Sites -> Users not report correctly
---------------------------+-----------------------------
 Reporter:  whiteatom      |       Owner:
     Type:  defect (bug)   |      Status:  reopened
 Priority:  normal         |   Milestone:  Future Release
Component:  Network Admin  |     Version:  3.1.2
 Severity:  normal         |  Resolution:
 Keywords:  has-patch      |
---------------------------+-----------------------------
Changes (by scribu):

 * keywords:  needs-patch => has-patch


Comment:

 The problem stems from the fact that roles are stored exactly as
 individual capabilities.

 So, if a role isn't registered, it won't appear in $user_object->roles.

 Due to this same ambiguity, the patch is also fragile.

 Related: #10201

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/17394#comment:8>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list