[wp-trac] [WordPress Trac] #22959: Show all roles in user list table

WordPress Trac noreply at wordpress.org
Wed Sep 25 16:39:08 UTC 2013


#22959: Show all roles in user list table
------------------------------+-----------------------------
 Reporter:  scribu            |       Owner:
     Type:  enhancement       |      Status:  new
 Priority:  normal            |   Milestone:  Future Release
Component:  Role/Capability   |     Version:
 Severity:  normal            |  Resolution:
 Keywords:  has-patch commit  |
------------------------------+-----------------------------
Changes (by nacin):

 * milestone:  3.7 => Future Release


Comment:

 It has occurred to me that there is a distinct possibility that a plugin
 that implements multiple roles might not want subsequent roles to actually
 be displayed. Maybe this should start with one role and be filterable to
 add additional roles. Or maybe roles should be marked as public or
 private. Or maybe who cares and [attachment:22959.4.diff] is good. A role
 name could be omitted, I guess — add_role( 'some-slug', false ) (or `''`).
 Might that be enough to consider a role to be "private"? Should we only
 list roles that are returned by get_editable_roles()? Just spitballing
 here. (As in, I would advise not bothering to patch any which way until a
 discussion comes to a consensus.)

 Let's try to resolve this in 3.8, as I know it'll benefit plugins like
 bbPress.

 (As is customary for a roles/caps ticket, see also #10201.)

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


More information about the wp-trac mailing list