[wp-trac] [WordPress Trac] #13934: $current_user unfounded assumptions
WordPress Trac
wp-trac at lists.automattic.com
Wed Jul 21 20:10:25 UTC 2010
#13934: $current_user unfounded assumptions
--------------------------+-------------------------------------------------
Reporter: filosofo | Owner: filosofo
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 3.0.1
Component: Users | Version: 3.0
Severity: normal | Resolution: fixed
Keywords: has-patch |
--------------------------+-------------------------------------------------
Changes (by ryan):
* status: accepted => closed
* resolution: => fixed
Comment:
(In [15452]) Use get_current_user() and get_current_user_id() instead of
global current_user object. Props filofo. fixes #13934 for 3.0.1
--
Ticket URL: <http://core.trac.wordpress.org/ticket/13934#comment:5>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list