@Emil - Those guidelines have been around for quite some time, but they are not the most obvious to find ... <br><br>... there are also a few in there that we might consider for the Theme Review guidelines, too.<br><br><br clear="all">
Cais.<br>
<br><br><div class="gmail_quote">On Fri, Aug 24, 2012 at 9:33 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">I wasn't aware about the guidelines, great info Cais. @Daniel/Merci I can't agree more. This is something that was raised on my forum and you guys know how easy is to "blame" on Themes when stuff don't work the way they should :)</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">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 8:14 PM, Edward Caissie <span dir="ltr"><<a href="mailto:edward.caissie@gmail.com" target="_blank">edward.caissie@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Interestingly enough, this point came up in a recent Meetup about plugins I just organized.<br><br>I would likely think that item 7 in the Plugin Guidelines (<a href="http://wordpress.org/extend/plugins/about/guidelines/" target="_blank">http://wordpress.org/extend/plugins/about/guidelines/</a>) would cover this, but in so doing if the plugin author is using new functionality only available in a newer version of a core-bundled script I would interpret item 7 to allow this providing the plugin author also advises the end-user the plugin is doing so (perhaps in the plugin description).<br>
<br>Fortunately Theme Guidelines simply do not allow for it at all (*grin*)<br><br><br clear="all">Cais.<div><div><br>
<br><br><div class="gmail_quote">On Fri, Aug 24, 2012 at 8:02 PM, Merci Javier <span dir="ltr"><<a href="mailto:mercijavier@gmail.com" target="_blank">mercijavier@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<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" target="_blank">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<div><div><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><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" 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><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><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>