[theme-reviewers] html5.js enqueuing

Chip Bennett chip at chipbennett.net
Wed Jun 12 15:55:21 UTC 2013


For future reference: please post ticket-specific questions and discussion
*in-ticket* first. You only need to raise ticket-specific issues to the
mail-list if you are unable to resolve those issues in-ticket.

Also: reviewers, please show a willingness to discuss (and clarify/explain)
any review comments in-ticket. If a developer asks for clarification, or
how to conform to a given Guideline, please provide assistance (at least to
the best of your ability) in-ticket.


On Wed, Jun 12, 2013 at 11:43 AM, D5 Creation Support <
support at d5creation.com> wrote:

> Thank you very much for this correction.
>
>
> On Wed, Jun 12, 2013 at 9:33 PM, Philip M. Hofer (Frumph) <
> philip at frumph.net> wrote:
>
>>  	echo '<!--[if lt IE 9]>';
>> 	    echo '<![endif]—>';
>>
>>
>>
>>  The above code in your functions.php will not work right.
>>
>> There’s no guarantee that the enqueing of this script will appear in the
>> position between the echo’s.
>>
>> However, you could do something like:
>>
>>
>> global $is_IE;if ( $is_IE ) {
>>     wp_enqueue_script('ie7style', get_template_directory_uri() . '/js/html5.js');
>>
>> }
>>
>> 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
>>
>>
>>
>>  *From:* D5 Creation Support <support at d5creation.com>
>> *Sent:* Wednesday, June 12, 2013 8:21 AM
>> *To:* theme-reviewers at lists.wordpress.org
>> *Subject:* [theme-reviewers] html5.js enqueuing
>>
>>  Dear Reviewers,
>>
>> Greetings from D5 Creation!
>>
>> Please find the following Tickets first:
>>
>> http://themes.trac.wordpress.org/ticket/12433
>>
>> http://themes.trac.wordpress.org/ticket/10354
>>
>> 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.
>>
>> Our another Theme Design was not approved due to hard coding the html5.js
>> from header.php rather than enqueuing.
>>
>> Which reviewer is correct? JavaScripts are required to enqueu via
>> callback function as per the guideline.
>>
>>
>> Thanks
>>
>> D5 Creation Team
>>
>> ------------------------------
>> _______________________________________________
>> theme-reviewers mailing list
>> theme-reviewers at lists.wordpress.org
>> http://lists.wordpress.org/mailman/listinfo/theme-reviewers
>>
>>
>> _______________________________________________
>> theme-reviewers mailing list
>> theme-reviewers at lists.wordpress.org
>> http://lists.wordpress.org/mailman/listinfo/theme-reviewers
>>
>>
>
>
> --
> *
> *
> *D5 Creation Support Team*
>
> *D5 Creation is a ICT Consulting Network which is operated, managed and
> served by some change seeking young people of the disadvantaged part of the
> society to make the ICT accessible to all and remove the digital divide
> with their best possible efforts.*
>
> You can contact with the D5 Creation Team for any kind of information of
> D5 Creation. Only the Paid Members can get technical support using our
> Support Ticket System. Others may use our Dynamic Contact System<http://d5creation.com/contact/contactus/>
> .
>
> _______________________________________________
> theme-reviewers mailing list
> theme-reviewers at lists.wordpress.org
> http://lists.wordpress.org/mailman/listinfo/theme-reviewers
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.wordpress.org/pipermail/theme-reviewers/attachments/20130612/648f9cff/attachment.html>


More information about the theme-reviewers mailing list