[wp-trac] [WordPress Trac] #16363: current_user_can()
WordPress Trac
wp-trac at lists.automattic.com
Mon Jan 24 12:05:44 UTC 2011
#16363: current_user_can()
--------------------------+-----------------------------
Reporter: merianos | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Users | Version: 3.0.4
Severity: normal | Keywords:
--------------------------+-----------------------------
I use the function current_user_can() and then I get the error
Fatal error: Call to undefined function wp_get_current_user() in
D:\VirtualHost\www.wordpress3.dch\www\wp-
content\plugins\my_plugin\includes\init.php on line 5
the function is used into a plugin of mine.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/16363>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list