Skip to content

Instantly share code, notes, and snippets.

@petersplugins
Created November 10, 2016 11:49
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save petersplugins/3bc70d9a200921d54f32850e59cea286 to your computer and use it in GitHub Desktop.
Save petersplugins/3bc70d9a200921d54f32850e59cea286 to your computer and use it in GitHub Desktop.
<?php
// This code snippet removes the wrong password login screen shake
// Add a custom function to the login head
add_action( 'login_head', 'remove_login_shake' );
function remove_login_shake() {
// remove the wp_shake JavaScript
remove_action( 'login_head', 'wp_shake_js', 12 );
}
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment