Theme developers like to deregister wordpress jquery and load jquery from google instead.
I’ve been told it is for speed and I agree.
This usually is not a problem for me since I always use jQuery instead of $.
But I do see some plugins try to use $, well, it generates javascript error and also makes my plugin not working. As a result, clients blame on innocent me.
Sometimes my js code depends on the version of wordpress jquery but theme developers tend to load a specific version from google.
Even though the theme is updated, they may not update the jquery version, not to mention an old theme.
What should I do in such situations?
Actually, I’m thinking about, maybe I should use Zepto.js instead and include it in my js code.
p.s. good news, wordpress 3.6 doesn’t allow deregister jquery in its backend.