[wp-trac] [WordPress Trac] #20845: wp_set_current_user( null, "name") does not work when $current_user is already 0

WordPress Trac wp-trac at lists.automattic.com
Tue Jun 5 16:10:58 UTC 2012


#20845: wp_set_current_user( null, "name") does not work when $current_user is
already 0
--------------------------+------------------------------
 Reporter:  bobbingwide   |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Users         |     Version:  3.3.2
 Severity:  normal        |  Resolution:
 Keywords:                |
--------------------------+------------------------------

Comment (by bobbingwide):

 TRUE. I found the problem in 3.3.2 and confirmed that the latest change
 for 3.4 doesn't address this problem. I suspect that the problem has
 potentially existed for a long time but was exacerbated by more recent
 code that sets the current user to 0.

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


More information about the wp-trac mailing list