Support » Plugin: WP cdnjs » JS Conflict with Formidable Pro Forms plugin

  • Resolved Octopixell

    (@octopixell)


    Hi,

    When running both WP cdnjs and Formidable Pro, there are some JS conflicts causing the jQuery UI elements not to work properly and this is causing some very important features of Formidable Pro to no longer work.

    I found out that WP cdnjs is loading a second jQuery UI which is unnecessary because it’s already loaded by WP by default. If you need your own version , please only load it on your own admin pages and unload the default jQuery UI from WP while doing so.

    This way you wont cause any issues with other plugins. Also, since jQuery UI is used on many admin pages for plugins I doubt that Formidable Pro is the only plugin that you are conflicting with.

    Thanks for making this great plugin!! 🙂

    https://wordpress.org/plugins/wp-cdnjs/

Viewing 5 replies - 1 through 5 (of 5 total)
  • Also, just to help out resolve this quickly:

    /**
     * Dequeue the jQuery UI script.
     *
     * Hooked to the wp_print_scripts action, with a late priority (100),
     * so that it is after the script was enqueued.
     */
    function wpdocs_dequeue_script() {
       wp_dequeue_script( 'jquery-ui-core' );
    }
    add_action( 'wp_print_scripts', 'wpdocs_dequeue_script', 100 );

    You’ll have to change the wp-cdnjs.php file on line 363

    Plugin Author Mindshare Labs, Inc.

    (@mindshare)

    Hey guys,

    Thanks for reporting this issue. I don’t even recall why we were using that script… but we will release a fix along with a few other improvements as soon as possible.

    No problem! Happy to help out.

    Do you have any ETA on when the update will be released? This issue is running on a lot of my websites now 😉

    Plugin Author Mindshare Labs, Inc.

    (@mindshare)

    We just pushed an update to address this. We tested locally with Formidable and had no issues. Can you confirm?

    Yes! This update has resolved the issue with Formidable. Thanks for the update.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘JS Conflict with Formidable Pro Forms plugin’ is closed to new replies.