WordPress.org

Ready to get started?Download WordPress

Forums

  1. David Anderson
    Member
    Posted 1 year ago #

    Hi,

    I have this plugin installed together with "Use Google Libraries".

    When both are active, there are two loads of jquery-ui from Google's CDN on certain admin pages. (I noticed it particular on the admin page for the 'Revolution Slider' plugin, which broke).

    David

    http://wordpress.org/extend/plugins/q-and-a/

  2. Dalton
    Member
    Plugin Author

    Posted 1 year ago #

    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

  3. David Anderson
    Member
    Posted 1 year ago #

    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

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.