[wp-trac] [WordPress Trac] #22624: New current_user_has_role function to work for roles like current_user_can does for caps (was: New current_user_role function to work for roles like current_user_can does for caps)
WordPress Trac
noreply at wordpress.org
Wed Nov 28 23:13:51 UTC 2012
#22624: New current_user_has_role function to work for roles like current_user_can
does for caps
-----------------------------+------------------------------
Reporter: sc0ttkclark | Owner:
Type: feature request | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Users | Version:
Severity: normal | Resolution:
Keywords: |
-----------------------------+------------------------------
Comment (by sc0ttkclark):
And maybe this function should be named current_user_has_role to make more
sense.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/22624#comment:3>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list