#4010 closed defect (bug) (fixed)
user_pass not properly nullified
| Reported by: | johnjamesjacoby | Owned by: | johnjamesjacoby |
|---|---|---|---|
| Priority: | normal | Milestone: | 1.5.5 |
| Component: | Settings | Version: | 1.5.3 |
| Severity: | normal | Keywords: | |
| Cc: |
Description (last modified by )
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_pass to null.
Note:
See TracTickets
for help on using tickets.
(In [5785]) Fix bug with accidentally unsetting user passwords in some installs. Fixes #4010 (trunk)