[Plugin: Limit Login Attempts] Empty login error div shown at all times
-
Whenever I activate the plugin, the login error box is shown at all times – not only when an error occurs. There is no text in the box, unless I manipulate the login error message like this:
add_filter('login_errors','login_error_message'); function login_error_message($error){ //check if that's the error you are looking for $pos = strpos($error, 'incorrect'); if ($pos === false) { //its the right error so you can overwrite it $error = "Det indtastede brugernavn eller kodeord var forkert, prov igen."; } return $error; }
Any ideas on what could be the problem?
https://www.ads-software.com/extend/plugins/limit-login-attempts/
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘[Plugin: Limit Login Attempts] Empty login error div shown at all times’ is closed to new replies.