[wp-trac] [WordPress Trac] #17924: Make Integrating Multiple Roles Per User Easier for Plugin Authors

WordPress Trac wp-trac at lists.automattic.com
Fri Jul 1 21:30:37 UTC 2011


#17924: Make Integrating Multiple Roles Per User Easier for Plugin Authors
-------------------------------------------------+-------------------------
 Reporter:  mobius5150                           |       Owner:
     Type:  enhancement                          |      Status:  new
 Priority:  normal                               |   Milestone:  Awaiting
Component:  Role/Capability                      |  Review
 Severity:  normal                               |     Version:  3.2
 Keywords:  has-patch dev-feedback needs-        |  Resolution:
  testing                                        |
-------------------------------------------------+-------------------------

Comment (by mobius5150):

 I updated the second diff so that the users list table on /wp-
 admin/users.php now uses a {{{user_role_name}}} filter to list the roles
 of the user. In addition, if the $role variable that
 {{{$WP_Users_List_Table->single_row()}}} is left empty, it will load an
 array of roles from the {{{$user_object}}} passed to it.

 Again, this has not been updated to actually use multiple roles, it simply
 provides of means for plugin authors to work with this table.

 Replying to [comment:1 scribu]:
 > Related: #10201
 Yes, the comment [comment:60:ticket:10201 here] by Jeremy Clarke presented
 good points and is what initially got me thinking about this. I just felt
 that the initial direction of that ticket was pretty different than what I
 had in mind.

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


More information about the wp-trac mailing list