Instantly share code, notes, and snippets.

What would you like to do?
Disable Jetpack's spinner function when it conflicts with Mootools' spinner. Careful though, it will break all features using the Spinner: Carousel, Custom CSS, Infinite Scroll, Notes
* Plugin Name: Disable Jetpack's Spinner
* Plugin URI:
* Description: Disable Jetpack's Spinner
* Author: George Stephanis
* Version: 1.0
* Author URI:
* License: GPL2+
add_action( 'wp_loaded', 'nuke_spin', 11 );
function nuke_spin() {
wp_deregister_script( 'jquery.spin' );
wp_deregister_script( 'spin' );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment