<HTML><HEAD></HEAD>
<BODY dir=ltr>
<DIV dir=ltr>
<DIV style="FONT-FAMILY: 'Calibri'; COLOR: #000000; FONT-SIZE: 12pt"><PRE> echo '<!--[if lt IE 9]>';
echo '<![endif]—>';</PRE><PRE> </PRE>
<DIV
style="FONT-STYLE: normal; DISPLAY: inline; FONT-FAMILY: 'Calibri'; COLOR: #000000; FONT-SIZE: small; FONT-WEIGHT: normal; TEXT-DECORATION: none">
<DIV style="FONT: 10pt tahoma">
<DIV><FONT size=3 face=Calibri>The above code in your functions.php will not
work right.</FONT></DIV>
<DIV><FONT size=3 face=Calibri></FONT> </DIV>
<DIV><FONT size=3 face=Calibri>There’s no guarantee that the enqueing of this
script will appear in the position between the echo’s. </FONT></DIV>
<DIV><FONT size=3 face=Calibri></FONT> </DIV>
<DIV><FONT size=3 face=Calibri>However, you could do something
like:</FONT></DIV>
<DIV><FONT size=3 face=Calibri></FONT> </DIV><PRE class="default prettyprint prettyprinted"><CODE><SPAN class=kwd><FONT style="FONT-SIZE: 12pt">global</FONT></SPAN><FONT style="FONT-SIZE: 12pt"><SPAN class=pln> $is_IE</SPAN><SPAN class=pun>;</SPAN><SPAN class=pln>
</SPAN><SPAN class=kwd>if</SPAN><SPAN class=pln> </SPAN><SPAN class=pun>(</SPAN><SPAN class=pln> $is_IE </SPAN><SPAN class=pun>)</SPAN><SPAN class=pln> </SPAN><SPAN class=pun>{</SPAN><SPAN class=pln>
wp_enqueue_script('ie7style', get_template_directory_uri() . '/js/html5.js');</SPAN></FONT></CODE></PRE><PRE class="default prettyprint prettyprinted"><CODE><FONT style="FONT-SIZE: 12pt"><SPAN class=pln></SPAN><SPAN class=pln></SPAN></FONT><SPAN class=pun><FONT style="FONT-SIZE: 12pt">}</FONT></SPAN></CODE></PRE>
<DIV><FONT size=3 face=Calibri>which then you wouldn’t need directives, but it
would hit all IE browsers, if that’s fine with you – and this would be the most
appropriate way of handling this situation</FONT></DIV>
<DIV><FONT size=3 face=Calibri></FONT> </DIV>
<DIV><FONT size=3 face=Calibri></FONT> </DIV>
<DIV><FONT size=3 face=Calibri></FONT> </DIV>
<DIV style="BACKGROUND: #f5f5f5">
<DIV style="font-color: black"><B>From:</B> <A title=support@d5creation.com
href="mailto:support@d5creation.com">D5 Creation Support</A> </DIV>
<DIV><B>Sent:</B> Wednesday, June 12, 2013 8:21 AM</DIV>
<DIV><B>To:</B> <A title=theme-reviewers@lists.wordpress.org
href="mailto:theme-reviewers@lists.wordpress.org">theme-reviewers@lists.wordpress.org</A>
</DIV>
<DIV><B>Subject:</B> [theme-reviewers] html5.js enqueuing</DIV></DIV></DIV>
<DIV> </DIV></DIV>
<DIV
style="FONT-STYLE: normal; DISPLAY: inline; FONT-FAMILY: 'Calibri'; COLOR: #000000; FONT-SIZE: small; FONT-WEIGHT: normal; TEXT-DECORATION: none">
<DIV>Dear Reviewers,</DIV>
<DIV> </DIV>
<DIV>Greetings from D5 Creation!</DIV>
<DIV> </DIV>Please find the following Tickets first:
<DIV><BR><A
href="http://themes.trac.wordpress.org/ticket/12433">http://themes.trac.wordpress.org/ticket/12433</A></DIV>
<DIV> </DIV>
<DIV><A
href="http://themes.trac.wordpress.org/ticket/10354">http://themes.trac.wordpress.org/ticket/10354</A></DIV>
<DIV> </DIV>
<DIV>One of our Themes named Easy was not approved today. One of the 2 required
issues is enqueuing the html5.js from functions.php via callback function. The
reviewer advised to do hard coding the html5.js from header.php as Twenty Twelve
does.</DIV>
<DIV> </DIV>
<DIV>Our another Theme Design was not approved due to hard coding the html5.js
from header.php rather than enqueuing. </DIV>
<DIV> </DIV>
<DIV>Which reviewer is correct? JavaScripts are required to enqueu via callback
function as per the guideline. </DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV>Thanks</DIV>
<DIV> </DIV>
<DIV>D5 Creation Team </DIV>
<P>
<HR>
_______________________________________________<BR>theme-reviewers mailing
list<BR>theme-reviewers@lists.wordpress.org<BR>http://lists.wordpress.org/mailman/listinfo/theme-reviewers<BR></DIV></DIV></DIV></BODY></HTML>