[wp-trac] [WordPress Trac] #11635: create a function that does this: wp_get_user_role()
WordPress Trac
wp-trac at lists.automattic.com
Sat Jan 2 22:43:35 UTC 2010
#11635: create a function that does this: wp_get_user_role()
--------------------------+-------------------------------------------------
Reporter: hakre | Owner: ryan
Type: defect (bug) | Status: assigned
Priority: normal | Milestone: 3.0
Component: General | Version: 2.9
Severity: normal | Keywords: dev-feedback has-patch needs-testing
--------------------------+-------------------------------------------------
Comment(by ericmann):
The patch works when is_user_logged_in() is false at least on my
installation. I think it could warrant further tests, though, in case I
missed something.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/11635#comment:7>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list