<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
<title></title>
</head>
<body text="#000000" bgcolor="#ffffff">
That's fine by me. <br>
<br>
I thought we already had wp_enqueue_style() and wp_enqueue_script()
in the guidelines. Now, I see that it was just a reference to the
comment reply script.<br>
<br>
On 4/21/2011 1:50 PM, Edward Caissie wrote:
<blockquote
cite="mid:BANLkTi=PfNSG1OUrpuw2_6zJx+EBC03t7A@mail.gmail.com"
type="cite">I agree with "recommended" for adding additional
stylesheets via wp_enqueue_style() immediately and pushing it to
required with 3.2; which seems will not be all that far off.<br>
<br>
I would also think that example, or similar ones, should be linked
to so authors have something to work from if/when they adapt this
"new" method.<br>
<br>
<br>
Cais.<br>
<br>
<div class="gmail_quote">On Thu, Apr 21, 2011 at 2:39 PM, Chip
Bennett <span dir="ltr"><<a moz-do-not-send="true"
href="mailto:chip@chipbennett.net">chip@chipbennett.net</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt
0.8ex; border-left: 1px solid rgb(204, 204, 204);
padding-left: 1ex;">
I agree - but we rarely take something from a non-suggestion
to *required* in one step, unless a critical need exists.
<div><br>
</div>
<div>The general path is to make something *recommended*,
fit-test it for a while, and then bump it up to *required*.</div>
<div><br>
</div>
<div><font color="#888888">Chip</font>
<div>
<div class="h5"><br>
<br>
<div class="gmail_quote">On Fri, Apr 22, 2011 at 1:27
PM, Justin Tadlock <span dir="ltr"><<a
moz-do-not-send="true"
href="mailto:justin@justintadlock.com"
target="_blank">justin@justintadlock.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt
0pt 0.8ex; border-left: 1px solid rgb(204, 204,
204); padding-left: 1ex;">
<div text="#000000" bgcolor="#ffffff"> This should
be the *required* way. Additional stylesheets
should always be added with wp_enqueue_style().
This is what I've been putting in my reviews, even
for conditional stylesheets.
<div>
<div><br>
<br>
On 4/21/2011 1:22 PM, Chip Bennett wrote: </div>
</div>
<blockquote type="cite">
<div>
<div>I just found this:
<div><a moz-do-not-send="true"
href="http://iamzed.com/2010/01/07/using-wordpress-wp_enqueue_style-with-conditionals/"
target="_blank">http://iamzed.com/2010/01/07/using-wordpress-wp_enqueue_style-with-conditionals/</a></div>
<div><br>
</div>
<blockquote style="margin: 0pt 0pt 0pt 40px;
border: medium none; padding: 0px;">
<div><span style="font-family: 'Courier
New',Courier,monospace; font-size:
medium; color: rgb(0, 0, 187);">wp_enqueue_style<span
style="margin: 0px; padding: 0px;
color: rgb(102, 204, 102);">(</span><br
style="margin: 0px; padding: 0px;">
<span style="margin: 0px; padding:
0px; color: rgb(255, 0, 0);">'ie7-style'</span>, <br
style="margin: 0px; padding: 0px;">
get_template_directory_uri<span
style="margin: 0px; padding: 0px;
color: rgb(102, 204, 102);">(</span><span
style="margin: 0px; padding: 0px;
color: rgb(102, 204, 102);">)</span> . <span
style="margin: 0px; padding: 0px;
color: rgb(255, 0, 0);">'/ie7.css'</span><br
style="margin: 0px; padding: 0px;">
<span style="margin: 0px; padding:
0px; color: rgb(102, 204, 102);">)</span>;<br
style="margin: 0px; padding: 0px;">
<a moz-do-not-send="true"
href="http://www.php.net/global"
style="margin: 0px; padding: 0px;
color: rgb(208, 11, 11);"
target="_blank"><span style="margin:
0px; padding: 0px; color: rgb(0,
0, 102);">global</span></a> <span
style="margin: 0px; padding: 0px;">$wp_styles</span>;<br
style="margin: 0px; padding: 0px;">
<span style="margin: 0px; padding:
0px;">$wp_styles</span>-><span
style="margin: 0px; padding: 0px;">add_data</span><span
style="margin: 0px; padding: 0px;
color: rgb(102, 204, 102);">(</span> <span
style="margin: 0px; padding: 0px;
color: rgb(255, 0, 0);">'ie7-style'</span>, <span
style="margin: 0px; padding: 0px;
color: rgb(255, 0, 0);">'conditional'</span>, <span
style="margin: 0px; padding: 0px;
color: rgb(255, 0, 0);">'lte IE 7′</span><span
style="margin: 0px; padding: 0px;
color: rgb(102, 204, 102);">)</span>;</span></div>
</blockquote>
<div><br>
</div>
<div>This might move into the Guidelines, as
*Recommended* implementation of enqueueing
IE-conditional stylesheets. Thoughts?</div>
<div><br>
</div>
<div>Chip</div>
</div>
</div>
<pre><fieldset></fieldset>
_______________________________________________
theme-reviewers mailing list
<a moz-do-not-send="true" href="mailto:theme-reviewers@lists.wordpress.org" target="_blank">theme-reviewers@lists.wordpress.org</a>
<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>
</pre>
</blockquote>
</div>
<br>
_______________________________________________<br>
theme-reviewers mailing list<br>
<a moz-do-not-send="true"
href="mailto:theme-reviewers@lists.wordpress.org"
target="_blank">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>
</div>
</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>
<pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
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>
</body>
</html>