Changes between Initial Version and Version 1 of Ticket #13351, comment 4
- Timestamp:
- 08/15/2012 03:43:34 PM (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #13351, comment 4
initial v1 5 5 6 6 `wp_generate_auth_cookie()` (called via `wp_update_user())` also receives the old data, which causes it to create cookies for the old password and leads to logout: [[BR]] 7 http://core.trac.wordpress.org/browser/trunk/wp-includes/pluggable.php #L5817 http://core.trac.wordpress.org/browser/trunk/wp-includes/pluggable.php?rev=21496#L581 8 8 9 9 [attachment:13351.patch] replaces `get_userdata()` with `new WP_User()` in those two places. An alternative would probably be to check if `$_POST` (or a specific key) is empty in `get_user_by()`.