Recovered from the WooCommerce Knowledge Base, original post on September 29, 2015
I recently had a discussion with a WordPress user who was building a very serious Business-to-Business website and was looking to remove anything “unprofessional”, specifically the “login failure shake” found through the /wp-admin/ or /wp-login.php pages on your default WordPress installation.

This is actually a pretty quick fix – you’ll just have to insert the code into your functions.php file (or a child theme, or a plugin) below:
Quick, easy, and done.
Update: December 29, 2016 There is an alternate way to add code than adding it directly to your functions.php sheet – see the guide here for more information.