[wp-trac] [WordPress Trac] #19769: $userdata is not empty for anonymous requests

WordPress Trac wp-trac at lists.automattic.com
Wed Feb 29 16:52:02 UTC 2012


#19769: $userdata is not empty for anonymous requests
--------------------------------------------------+--------------------
 Reporter:  MattyRob                              |       Owner:
     Type:  defect (bug)                          |      Status:  new
 Priority:  normal                                |   Milestone:  3.3.2
Component:  Users                                 |     Version:  3.3.1
 Severity:  normal                                |  Resolution:
 Keywords:  has-patch dev-feedback needs-testing  |
--------------------------------------------------+--------------------
Changes (by duck_):

 * version:  3.3 => 3.3.1


Comment:

 Replying to [comment:4 MattyRob]:
 > I can get a NULL returned with the attached patch

 Doesn't work for me. `$value === 0` is already caught by the conditional
 before checking if $value is falsey.

 Attached patch to set $userdata to null in setup_userdata().

 The bug is in 3.3.1 only and was caused by [19625] for #19595.

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


More information about the wp-trac mailing list