[buddypress-trac] [BuddyPress] #4010: user_pass not properly nullified

buddypress-trac at lists.automattic.com buddypress-trac at lists.automattic.com
Tue Feb 14 19:24:25 UTC 2012


#4010: user_pass not properly nullified
-----------------------------+------------------------------
 Reporter:  johnjamesjacoby  |       Owner:  johnjamesjacoby
     Type:  defect (bug)     |      Status:  new
 Priority:  normal           |   Milestone:  1.5.5
Component:  Settings         |     Version:  1.5.3
 Severity:  normal           |  Resolution:
 Keywords:                   |
-----------------------------+------------------------------
Description changed by johnjamesjacoby:

Old description:

> Since WordPress 3.3, WP_User usess magic methods for setting and getting
> user data to and from $user->data. In the settings component, we attempt
> to unset it, but WP_User is missing the magic __unset() method, so it
> fails.
>
> We can get around this for now by manually setting $user->data->user_pall
> to null.

New description:

 Since !WordPress 3.3, WP_User uses magic methods for setting and getting
 user data to and from $user->data. In the settings component, we attempt
 to unset it, but WP_User is missing the magic !__unset() method, so it
 fails.

 We can get around this for now by manually setting $user->data->user_pall
 to null.

--

-- 
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/4010#comment:1>
BuddyPress <http://buddypress.org/>
BuddyPress


More information about the buddypress-trac mailing list