Change incorrect password error message.

Support MB User Profile Change incorrect password error message.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #45626
    Sam KSam K
    Participant

    How can I change the error message for an incorrect password? If the user enters the wrong password, I don't want the error message to confirm that the email exists. I want it to say, "Incorrect email or password" instead of "Error: The password you entered for the email address [email protected] is incorrect."

    Screenshot: https://bit.ly/4b2JdnG

    I appreciate your help. Thank you!

    #45629
    PeterPeter
    Moderator

    Hello Sam,

    It is the default WordPress error message, located in the file wp-includes/user.php line 262 and there isn't a filter hook or option to change this message.

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.