[wp-trac] [WordPress Trac] #30770: Twenty Fifteen: Theme Review: Stylesheets and Scripts

WordPress Trac noreply at wordpress.org
Fri Dec 19 06:10:57 UTC 2014


#30770: Twenty Fifteen: Theme Review: Stylesheets and Scripts
----------------------------------------+------------------
 Reporter:  emiluzelac                  |       Owner:
     Type:  defect (bug)                |      Status:  new
 Priority:  normal                      |   Milestone:  4.2
Component:  Bundled Theme               |     Version:  4.1
 Severity:  normal                      |  Resolution:
 Keywords:  needs-patch good-first-bug  |     Focuses:
----------------------------------------+------------------

Comment (by iamtakashi):

 Replying to [ticket:30770 emiluzelac]:
 > - No hard coding of scripts, styles and Favicons unless a browser
 workaround script. Everything should be enqueued.
 >
 > {{{
 >
 <script>(function(){document.documentElement.className='js'})();</script>
 > }}}
 >

 See this discussion about this. #30056

 >
 > The workaround noted above refers to e.g.
 >
 > {{{
 > <script src="<?php echo esc_url( get_template_directory_uri() );
 ?>/js/html5.js"></script>
 > }}}
 >

 See this ticket. #16024

 How do you approach to these issue?

--
Ticket URL: <https://core.trac.wordpress.org/ticket/30770#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list