Last Updated: February 25, 2016
· pedrohcan

Hide login error message at your Wordpress

When you try to login with an existing user and wrong password in wordpress, you receive a really unsecure message. To solve this problem, add the following code at functions.php in your theme files.

function login_error_message($error){
    return 'Wrong username and password.';