<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Just a note on this: The only thing that should de-register
core-bundled scripts is a plugin for specifically doing that. You
could have something like the "Use Google jQuery" plugin. Of
course, that plugin should come with a warning that it could break
stuff. That's the only legitimate case I can think of though.<br>
<br>
<div class="moz-cite-prefix">On 8/24/2012 5:10 PM, Chip Bennett
wrote:<br>
</div>
<blockquote
cite="mid:CAPdLKqc6U=+rEvFrxnwO7C3TrDB==P3c_UYDqyS025owKrw25w@mail.gmail.com"
type="cite">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">On Fri, Aug 24, 2012 at 4:57 PM, Emil
Uzelac <span dir="ltr"><<a moz-do-not-send="true"
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">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>
_______________________________________________<br>
theme-reviewers mailing list<br>
<a moz-do-not-send="true"
href="mailto:theme-reviewers@lists.wordpress.org">theme-reviewers@lists.wordpress.org</a><br>
<a moz-do-not-send="true"
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>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
theme-reviewers mailing list
<a class="moz-txt-link-abbreviated" href="mailto:theme-reviewers@lists.wordpress.org">theme-reviewers@lists.wordpress.org</a>
<a class="moz-txt-link-freetext" href="http://lists.wordpress.org/mailman/listinfo/theme-reviewers">http://lists.wordpress.org/mailman/listinfo/theme-reviewers</a>
</pre>
</blockquote>
<br>
</body>
</html>