WordPress.org

Plugin Directory

Remember Me

Control whether Remember Me is selected on the WordPress Login Form, without using any JavaScript.

Allows the Administrator and/or the User to control the placement of a check mark in the Remember Me checkbox on the standard WordPress login form.

Without a check mark in the Remember Me checkbox, your users will have to login every time they close their browser. With Remember Me selected, they won't have to login again for two weeks.

Settings allow:

  • The Administrator to control whether Remember Me is the default for all logins, logins from Admin panels or logins from public web pages controlled by jonradio Private Site or equivalent plugin
  • The Administrator to control if the User's Remember Me choice is remembered and, if so, for how long
  • Disabling of the plugin's control of the Remember Me checkbox

There are other plugins that make Remember Me the default, but I wrote this plugin because I wanted a solution that did not require JavaScript, which was the solution used by every other plugin that I could find. This plugin uses a documented standard WordPress Action ("hook") and a Post variable used by WordPress just for this purpose, i.e. - straight PHP with no JavaScript.

Deciding whether this plugin is for you:

  • WordPress always leaves the Remember Me checkbox empty, even if you selected it the last time you logged on;
  • Without Remember Me checked, logoff occurs automatically when the browser is closed or two days have passed;
  • Without Remember Me checked, some browsers will force a login when opening a new browser window;
  • With Remember Me checked, logoff occurs automatically in two weeks;
  • With Remember Me checked, the user remains logged in even if the browser is closed, the user's computer is rebooted or the web site hosting server is rebooted;
  • Web sites that can only be viewed by registered users (e.g. - jonradio Private Site plugin) are more likely to want Remember Me pre-selected for each user at login, as web site viewing will be more frequently repeated than WordPress Administration;
  • For public or shared computers, the WordPress behaviour of leaving the Remember Me checkbox empty is a slight Security improvement, but is easily defeated by a user selecting Remember Me during login, which still leaves subsequent users logged on.

Adoption Notice
This plugin was recently adopted by David Gewirtz and ongoing support and updates will continue. Feel free to visit David's Lab Notes for additional details and to sign up for emailed news updates.

Special thanks to Jon 'jonradio' Pearkins for creating the plugin and making adoption possible.

Requires: 3.6 or higher
Compatible up to: 4.2.2
Last Updated: 2015-4-15
Active Installs: 100+

Ratings

5 out of 5 stars

Support

Got something to say? Need help?

Compatibility

+
=
Not enough data

0 people say it works.
0 people say it's broken.

100,1,1