[wp-trac] [WordPress Trac] #11635: create a function that does this: wp_get_user_role()

WordPress Trac wp-trac at lists.automattic.com
Mon Jul 30 23:31:44 UTC 2012


#11635: create a function that does this: wp_get_user_role()
-------------------------------------------------+-------------------------
 Reporter:  hakre                                |       Owner:  ryan
     Type:  defect (bug)                         |      Status:  assigned
 Priority:  normal                               |   Milestone:  Future
Component:  Role/Capability                      |  Release
 Severity:  normal                               |     Version:  2.9
 Keywords:  dev-feedback has-patch needs-        |  Resolution:
  testing                                        |
-------------------------------------------------+-------------------------

Comment (by scribu):

 But other than that, I agree with dd32:

 > Users can have multiple roles. There is no real way to determine which
 role is the "highest".

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


More information about the wp-trac mailing list