WordPress.org

Support

Support » Plugins and Hacks » jQuery conflict

jQuery conflict

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Dalton Rooney

    @daltonrooney

    Hi David,
    Our plugin uses the WordPress built in version of jQuery UI, using the WordPress wp_enqueue_script function. Theoretically this should prevent duplicate scripts from loading. In addition, we only load those scripts on our own admin pages, not in the general WP admin. Are you sure our plugin is causing this?

    Regards,
    Dalton

    Hi,

    Your plugin seems to enqueue the Google version:

    # grep -R -n google .
    ./inc/functions.php:73:         wp_register_script( 'jquery', ( "http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js" ), false, '1', false);

    In my install, with your plugin turned on, there are two separate jQuerys on the page – one of which has the above URL. When I de-activate your plugin, there is only one.

    David

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘jQuery conflict’ is closed to new replies.