Opened 3 years ago

Closed 3 years ago

Last modified 3 years ago

#13165 closed enhancement (fixed)

Keep "Remember me" checkbox checked

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

Description

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 3 years ago.
Using $_POSTrememberme?.

Download all attachments as: .zip

Change History (6)

xibe3 years ago

Using $_POSTrememberme?.

comment:1   xibe3 years ago

  • Keywords has-patch dev-feedback added
  • 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.

comment:3   jane3 years ago

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

  • 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.

comment:5   xibe3 years ago

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

Note: See TracTickets for help on using tickets.