When we try to use the wrong username or password in wp login windows. It started shaking the login window.
Some times it looks weird. wordpress login window moves if we put wrong username or password. Due to shaking effect user knows username and password is wrong. some hackers use this for hacking.
wordpress login window moves
Using following easy hack we cna remove this effect. You just need to copy and paste the following code into the functions.php which you will find in your active theme folder.
function wpapis_login_error() { remove_action('login_head', 'wp_shake_js', 12); } add_action('login_head', 'wpapis_login_error');