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

WordPress Trac noreply at wordpress.org
Sat May 4 10:50:50 UTC 2013


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

Comment (by DrewAPicture):

 I agree with @wonderboymusic and @dd32. At the least, just remove the
 TODO, but since users can have multiple roles, this doesn't necessarily
 return the "highest" role, just the first one. +1 for close.

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


More information about the wp-trac mailing list