Most of us might have faced an annoying wrong password shake while using wordpress. Sometimes you may want to remove it. So here is a quick hack! NJoy!

<?php
function my_login_head() {
remove_action(‘login_head’, ‘wp_shake_js’, 12);
}
add_action(‘login_head’, ‘my_login_head’);
?>

Instructions to use:

Use the code snippet above in your functions.php (without <?php> tags :) )

and if you don’t have a functions.php, create one and use the code as is!

About these ads