How to remove login shake effect when error occurs

Simply paste the following code into your functions.php file:

function wps_login_error() {
        remove_action('login_head', 'wp_shake_js', 12);
}
add_action('login_head', 'wps_login_error');

Credit: WordPress Support Forum

Leave a Reply

Your email address will not be published. Required fields are marked *