[theme-reviewers] Enqueue scripts from CDN

Rohit Tripathi rohitink at live.com
Tue Aug 6 18:44:53 UTC 2013


Yes, Scripts from CDN as well, should be enqueued using the wp_enqueue_script() function. And If IE conditional comment is used, then related scripts can be put in there directly.

Date: Tue, 6 Aug 2013 20:37:16 +0200
From: ola at bodera.com
To: theme-reviewers at lists.wordpress.org
Subject: [theme-reviewers] Enqueue scripts from CDN

Hello!
Is it ok for theme author to enqueue scripts directly from CDN, and not include them with the theme?Example: <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
And one more thing - is it ok to put scripts directly in header.php in conditional IE comments (<!--[if lt IE 9]> <![endif]-->)

Best regards,
Ola Łączek




_______________________________________________
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/20130807/2bcbbefd/attachment.html>


More information about the theme-reviewers mailing list