Skip to content

Instantly share code, notes, and snippets.

@mishterk
Last active October 24, 2019 07:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mishterk/bd69df37b5a8e2a2ff8a5bd34f5ca3f2 to your computer and use it in GitHub Desktop.
Save mishterk/bd69df37b5a8e2a2ff8a5bd34f5ca3f2 to your computer and use it in GitHub Desktop.
How to clear lockouts from the awesome Limit Login Attempts plugin via SQL. For more info see https://philkurth.com.au/articles/how-to-clear-lockouts-from-the-awesome-limit-login-attempts-plugin-via-sql/
UPDATE wp_options SET option_value = '' WHERE option_name = 'limit_login_lockouts' LIMIT 1;
UPDATE wp_options SET option_value = REPLACE(option_value, '111.222.333.444, '') WHERE option_name = 'limit_login_lockouts' LIMIT 1;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment