DISCLAIMER: this post is older than one year and may not be up to date with latest WordPress version.

Don’t like the “shake” effect which occurs each time a login error occurs? Here is a super easy snippet to remove it for good.

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

Tags

3 Comments

  1. thanks for sharing this with us.
    really usefull.
    YOu work on minute thing which is really nice.

  2. Great Article. I recommended your Tips as a Web Designer. thank you very much for Sharing with us.

  3. When I initially commented I seem to have clicked on the -Notify me when new comments are added- checkbox and now whenever a comment is added I get 4 emails with the exact same comment. Perhaps there is a means you can remove me from that service? Many thanks!

Leave a Reply to Stephen Brian Cancel

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