Plugin Directory

Remember Me Controls

Have "Remember Me" checked by default on the login page and configure how long a login is remembered. Or disable the feature altogether.

1.6 (2016-03-23)

Highlights: * This release largely consists of minor behind-the-scenes changes.

Details: * Change: Update plugin framework to 041: * Change class name to c2c_RememberMeControls_Plugin_041 to be plugin-specific. * Set textdomain using a string instead of a variable. * Don't load textdomain from file. * Change admin page header from 'h2' to 'h1' tag. * Add c2c_plugin_version(). * Formatting improvements to inline docs. * Change: Add support for language packs: * Set textdomain using a string instead of a variable. * Remove .pot file and /lang subdirectory. * Change: Express WP default cookie expiration duration as 2 days instead of 48 hours. * Change: Declare class as final. * Change: Explicitly declare methods in unit tests as public or protected. * Change: Minor code reformatting. * Change: Minor tweak to description. * Change: Minor improvements to inline docs and test docs. * New: Add LICENSE file. * New: Create empty index.php to prevent files from being listed if web server has enabled directory listings. * Change: Note compatibility through WP 4.5+. * Change: Remove support for versions of WordPress older than 4.1. * Change: Update copyright date (2016).

1.5 (2015-02-22)

  • Add unit tests
  • Update plugin framework to 039
  • Explicitly declare activation() and uninstall() static
  • Reformat plugin header
  • Minor code reformatting (spacing, bracing)
  • Change documentation links to wp.org to be https
  • Minor documentation spacing changes throughout
  • Note compatibility through WP 4.1+
  • Update copyright date (2015)
  • Add plugin icon
  • Regenerate .pot

1.4 (2014-01-15)

  • Add 'About' section to help panel
  • Move descriptive text from top of settings page into 'About' section of help panel
  • Remove a bunch of pre-WP3.5 compatibility code
  • Update plugin framework to 037
  • Better singleton implementation:
    • Add get_instance() static method for returning/creating singleton instance
    • Make static variable 'instance' private
    • Make constructor protected
    • Make class final
    • Additional related changes in plugin framework (protected constructor, erroring __clone() and __wakeup())
  • Add checks to prevent execution of code if file is directly accessed
  • Use explicit path for require_once()
  • Discontinue use of PHP4-style constructor
  • Discontinue use of explicit pass-by-reference for objects
  • Minor documentation improvements
  • Minor code reformatting (spacing, bracing)
  • Note compatibility through WP 3.8+
  • Drop compatibility with version of WP older than 3.6
  • Update copyright date (2014)
  • Regenerate .pot
  • Change donate link
  • Update screenshots
  • Add banner


  • Use YEAR_IN_SECONDS and HOUR_IN_SECONDS constants instead of doing the time calculation
  • Add backwards compatibility for *_IN_SECONDS constants added to WP 3.5
  • Update plugin framework to 035
  • Discontinue use of explicit pass-by-reference for objects
  • Regenerate .pot
  • Re-license as GPLv2 or later (from X11)
  • Add 'License' and 'License URI' header tags to readme.txt and plugin file
  • Note compatibility through WP 3.5+
  • Update copyright date (2013)
  • Remove ending PHP close tag
  • Create repo's WP.org assets directory
  • Move screenshots into repo's assets directory


  • Add setting 'remember_me_forever' to allow user to forego having to make up a large number
  • Set a max expiration of 100 years in the future to prevent error if user supplies a high enough number to exceed the year 9999
  • Use pure JS instead of jQuery for checking checkbox
  • Hook into 'login_footer' action to output JS
  • Change hooking of 'login_head' to output CSS rather than calling login_head()
  • Remove login_head()
  • Allow setting minimum duration of 1 hour (as was documented)
  • Remove support for global $c2c_remember_me_controls variable
  • Update plugin framework to 031
  • Note compatibility through WP 3.3+
  • Drop compatibility with versions of WP older than 3.1
  • Create 'lang' subdirectory and move .pot file into it
  • Regenerate .pot
  • Update screenshot
  • Add screenshots 2 and 3
  • Add more description, FAQ question
  • Add link to plugin directory page to readme.txt
  • Update copyright date (2012)


  • Fix bug with missing remember_me_duration setting conversion from hours to seconds
  • Update plugin framework to version v023
  • Save a static version of itself in class variable $instance
  • Deprecate use of global variable $c2c_remember_me_controls to store instance
  • Fix to properly register activation and uninstall hooks
  • Add __construct(), activation(), uninstall()
  • Explicitly declare all class functions public
  • Note compatibility through WP 3.2+
  • Drop compatibility with versions of WP older than 3.0
  • Minor code formatting changes (spacing)
  • Minor readme.txt formatting changes
  • Fix plugin homepage and author links in description in readme.txt
  • Update copyright date (2011)


  • Fix bug where having "Remember Me" checked but having no remember me duration configured resulted in login error
  • Fix bug where incorrect number of arguments were requested from the 'auth_cookie_expiration' action


  • Initial release

Requires: 4.1 or higher
Compatible up to: 4.5.4
Last Updated: 6 months ago
Active Installs: 3,000+


3.8 out of 5 stars


Got something to say? Need help?


Not enough data

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