Make WordPress Core

Opened 14 years ago

Closed 14 years ago

Last modified 14 years ago

#13165 closed enhancement (fixed)

Keep "Remember me" checkbox checked

Reported by: xibe's profile xibe Owned by:
Milestone: 3.0 Priority: normal
Severity: normal Version: 3.0
Component: UI Keywords: has-patch ux-feedback
Focuses: Cc:


One tiny annoying thing with WP's login is that, when you enter your id/pwd and tick the "Remember Me" checkbox, if your id or password is wrong, once the page reloaded, the checkbox is unticked.

Since I'm on a good number of blogs, and I use a different password for each of them, I like to prevent relogging by ticking the box, yet I often have to try 2/3 times to get the right password - hance having to tick the box for every failure.

Therefore, it'd be nice if the form could remember the status of the checkbox.

Attachments (1)

13165.patch (1.3 KB) - added by xibe 14 years ago.
Using $_POSTrememberme?.

Download all attachments as: .zip

Change History (6)

14 years ago

Using $_POSTrememberme?.

#1 @xibe
14 years ago

  • Keywords has-patch dev-feedback added

#2 @nacin
14 years ago

  • Keywords ux-feedback added; dev-feedback removed

Style notes:

$rememberbe should always be set. In this case, it would emit an E_NOTICE when it is not checked. Change the first chunk of code to $rememberme = !empty( $_POST['rememberme'] );. For the second chunk, we have checked(). simply do checked($rememberme);.

Ticket notes:

I'd like some UX feedback on this, as I'm not sure if there is a reason why we don't do this.

#3 @jane
14 years ago

There is no reason afaik and the current behavior drives me insane every day. That's why I'm so weird.

#4 @nacin
14 years ago

  • Resolution set to fixed
  • Status changed from new to closed

(In [14280]) Keep 'remember me' checked when user/pass is incorrect. props xibe, fixes #13165.

#5 @xibe
14 years ago

Thanks for correcting my patch, Nacin. Will take note.

Note: See TracTickets for help on using tickets.