<br>Hi Emil.<br><br>AFAIK, plugins which are hosted in the WP repo shouldn't be deregistering core jquery at all.<br><br>Best thing to do is report such plugins or inquire at <a href="mailto:plugins@wordpress.org">plugins@wordpress.org</a> and they can take appropriate action. They usually write back and inform you about the action taken on the plugin. I reported a plugin which phoned home (and more) and they took it off right away and let me know about it.<br>
<br>Mercime<br><br><br><div class="gmail_quote">On Fri, Aug 24, 2012 at 3:20 PM, Emil Uzelac <span dir="ltr"><<a href="mailto:emil@themeid.com" target="_blank">emil@themeid.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<font color="#333333"><font><font face="arial,helvetica,sans-serif">Right and that's something I like and support all the way :)</font></font></font><div><font color="#333333"><font><font face="arial,helvetica,sans-serif"><br>
</font></font></font></div><div><font color="#333333"><font><font face="arial,helvetica,sans-serif">Question was prompted by this <a href="http://pastebin.com/MaVFM1KZ" target="_blank">http://pastebin.com/MaVFM1KZ</a> and not just this, there are more plugins just like it where plugin author "kills" the bundled JS library, in this particular case the jQuery and "injects" not only non-bundle, but also higher version as well.</font></font></font></div>
<div><font color="#333333"><font><font face="arial,helvetica,sans-serif"><br></font></font></font></div><div><font color="#333333"><font><font face="arial,helvetica,sans-serif">I guess they are "allowed" to do this right? and there's nothing we can do from Theme's end to prevent that :(</font></font></font></div>
<div><font color="#333333"><font><font face="arial,helvetica,sans-serif"><br></font></font></font></div><div><font color="#333333"><font><font face="arial,helvetica,sans-serif">P.S. Higher version is most of the time compatibility issue.</font></font></font></div>
<div><font color="#333333"><font><font face="arial,helvetica,sans-serif"><br></font></font></font></div><div><font color="#333333"><font><font face="arial,helvetica,sans-serif">Thanks,</font></font></font></div><div><font color="#333333"><font><font face="arial,helvetica,sans-serif">Emil<br>
</font></font></font><div><div class="h5"><br><div class="gmail_quote">On Fri, Aug 24, 2012 at 5:10 PM, Chip Bennett <span dir="ltr"><<a href="mailto:chip@chipbennett.net" target="_blank">chip@chipbennett.net</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I'm not sure I understand the question.<div><ul><li>If a Theme wants to use jQuery, it should call wp_enqueue_script( 'jquery' ), to enqueue the core-bundled jQuery library.</li><li>If a Plugin wants to use jQuery, it should call wp_enqueue_script( 'jquery' ), to enqueue the core-bundled jQuery library.</li>
<li>No Theme or Plugin should de-register core-bundled jQuery, in order to register any other version of jQuery.</li></ul></div><div>Out of curiosity: what prompted the question?</div><div><br></div><div>Chip</div><div><br>
<div class="gmail_quote"><div><div>On Fri, Aug 24, 2012 at 4:57 PM, Emil Uzelac <span dir="ltr"><<a href="mailto:emil@themeid.com" target="_blank">emil@themeid.com</a>></span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div><div>
<font color="#333333"><font><font face="arial,helvetica,sans-serif">Guys!</font></font></font><div><font color="#333333"><font><font face="arial,helvetica,sans-serif"><br></font></font></font></div><div><font color="#333333"><font><font face="arial,helvetica,sans-serif">Should plugin check first if the Theme is already "calling" the jQuery and if it does, plugin should do nothing and also not to remove </font></font></font><font color="#333333" face="arial, helvetica, sans-serif">wp_enqueue_script and "inject" higher version via Google API?</font></div>
<div><font color="#333333" face="arial, helvetica, sans-serif"><br></font></div><div><font color="#333333" face="arial, helvetica, sans-serif">Thanks,</font></div><div><font color="#333333" face="arial, helvetica, sans-serif">Emil</font></div>
<br></div></div>_______________________________________________<br>
theme-reviewers mailing list<br>
<a href="mailto:theme-reviewers@lists.wordpress.org" target="_blank">theme-reviewers@lists.wordpress.org</a><br>
<a href="http://lists.wordpress.org/mailman/listinfo/theme-reviewers" target="_blank">http://lists.wordpress.org/mailman/listinfo/theme-reviewers</a><br>
<br></blockquote></div><br></div>
<br>_______________________________________________<br>
theme-reviewers mailing list<br>
<a href="mailto:theme-reviewers@lists.wordpress.org" target="_blank">theme-reviewers@lists.wordpress.org</a><br>
<a href="http://lists.wordpress.org/mailman/listinfo/theme-reviewers" target="_blank">http://lists.wordpress.org/mailman/listinfo/theme-reviewers</a><br>
<br></blockquote></div><br></div></div></div>
<br>_______________________________________________<br>
theme-reviewers mailing list<br>
<a href="mailto:theme-reviewers@lists.wordpress.org">theme-reviewers@lists.wordpress.org</a><br>
<a href="http://lists.wordpress.org/mailman/listinfo/theme-reviewers" target="_blank">http://lists.wordpress.org/mailman/listinfo/theme-reviewers</a><br>
<br></blockquote></div><br>