• Resolved barnabyk

    (@barnabyk)


    Hello,

    I am wondering if you are planning an update (in general and specifically to this query) to your plugin that deals with the way JS is handled? I don’t know about this stuff, but a plugin that I used provided me some feedback that the JS is causing a conflict (I’m pasting the reply below).

    Any feedback you can provide would be greatly appreciated!

    Thanks,

    Barn.

    the support reply about the JS conflict:
    I’m afraid I can’t suggest you another option because that plugin creates a conflict with MailPoet.

    Most of these issues are related to a plugin’s javascript being loaded in every page. They should only be on the pages where they are needed.
    Smashing Magazine explains to developers how to avoid plugin conflicts, and so does a known member of the community.

    In short, never hook directly to admin_head to include your scripts. Instead, create your own custom hook: myplugin_admin_head.

    Maybe, you could get in contact with the author of the plugin in order to fix it 🙂 or to do it by yourself using this conditional, but you should modify the plugin’s code.
    https://gist.github.com/dorsvenabili/cbc1a79d0bbf31444b65

    Let me know his answer!

    https://wordpress.org/plugins/use-google-libraries/

Viewing 1 replies (of 1 total)
  • Plugin Author Jason Penney

    (@jczorkmid)

    Use Google Libraries doesn’t enqueue anything. It just updates registrations. Something else is likely the cause.

Viewing 1 replies (of 1 total)

The topic ‘JS conflict and update querie’ is closed to new replies.