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

WordPress Trac noreply at wordpress.org
Fri Dec 19 20:37:26 UTC 2014


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

Comment (by obenland):

 Replying to [comment:15 greenshady]:
 > This line placed in `header.php`:
 >
 > {{{
 >
 <script>(function(){document.documentElement.className='js'})();</script>
 > }}}
 >
 > Should be moved to a callback hooked to `wp_head()`.

 I think that's reasonable. It will not change the way it works now, and
 child themes will have it easier to modify it, as Justin mentioned.

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


More information about the wp-trac mailing list