[wp-trac] [WordPress Trac] #27627: auth cookies lose their correct expiration date when changing password

WordPress Trac noreply at wordpress.org
Wed Apr 2 09:33:23 UTC 2014


#27627: auth cookies lose their correct expiration date when changing password
------------------------------------+-----------------------------
 Reporter:  Denis-de-Bernardy       |       Owner:
     Type:  defect (bug)            |      Status:  new
 Priority:  normal                  |   Milestone:  Future Release
Component:  Login and Registration  |     Version:  2.5
 Severity:  normal                  |  Resolution:
 Keywords:  needs-patch             |     Focuses:
------------------------------------+-----------------------------
Changes (by johnbillion):

 * keywords:   => needs-patch
 * focuses:  ui =>
 * version:  trunk => 2.5
 * milestone:  Awaiting Review => Future Release


Comment:

 Confirmed. Issue is
 [https://core.trac.wordpress.org/browser/tags/3.8.1/src/wp-
 includes/user.php#L1497 here in wp_update_user()]. The `$remember`
 parameter for `wp_set_auth_cookie()` isn't set.

 Introduced in [6387].

 Note: my User Switching plugin  [https://github.com/johnbillion/user-
 switching/blob/0.8.8/user-switching.php#L88-L104 has a method] for
 detecting whether the current user should be 'remembered' or not.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/27627#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list