WordPress.org

Support

Support » Plugins and Hacks » Use Google Libraries » [Resolved] [Plugin: Use Google Libraries] Not using Google Libraries, even after disabling all other plugins

[Resolved] [Plugin: Use Google Libraries] Not using Google Libraries, even after disabling all other plugins

  • I was doing some performance tuning on my blog earlier today, when I noticed that WordPress was using my local copy of jQuery instead of the Google-hosted copy.

    I followed your recommendation and turned debugging on, to capture this line:

    Use Google Libraries: Another plugin has registered or enqued a script before the “init” action. Attempting to work around it.

    Through the process of elimination, I discovered that disabling the Smart Youtube Pro eliminated the debug message. However, WordPress still used the local copy of jQuery.

    I went as far as to disable all plugins in this instance of WordPress, but I was not able to get it to reference Google’s copy of jQuery.

    I noticed in the changelog that you’re now using the transients API to cache the URLs. Do you think WP might be storing a reference to the local copy here because of issue found in the debug message?

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

    @jczorkmid

    That is a very good question! I think that may be what happened. If so the transient will expire in 25 hours (max) and then it should pick it up. I’ll try and reproduce it when I have a chance with the other plugin and see what’s happening.

    Thanks for the thorough report!

Viewing 1 replies (of 1 total)
  • The topic ‘[Resolved] [Plugin: Use Google Libraries] Not using Google Libraries, even after disabling all other plugins’ is closed to new replies.
Skip to toolbar