• On the password change screen, if a use picks an invalid password (such as too short), a message will show up at the top saying “Password is too short”. However, these error messages show up with a blue stripe beside them (“info” messages) instead of a red strip (“error” messages). Would it be possible to change this so that any problem with the password is shown as an error instead? I think this would make it more intuitive and user-friendly.

    You can do this using the WP_Error object and returning it on the “wp_login_errors” hook.

    https://wordpress.org/plugins/login-security-solution/

  • The topic ‘Showing password change errors as errors’ is closed to new replies.