[wp-trac] [WordPress Trac] #30056: Twenty Fifteen: Menu hiccups

WordPress Trac noreply at wordpress.org
Sun Oct 26 22:56:21 UTC 2014


#30056: Twenty Fifteen: Menu hiccups
-------------------------------------+-----------------------------
 Reporter:  nhuja                    |       Owner:
     Type:  defect (bug)             |      Status:  new
 Priority:  normal                   |   Milestone:  4.1
Component:  Bundled Theme            |     Version:  trunk
 Severity:  normal                   |  Resolution:
 Keywords:  has-patch needs-testing  |     Focuses:  ui, javascript
-------------------------------------+-----------------------------

Comment (by mattwiebe):

 It's generally accepted ([http://www.paulirish.com/2009/avoiding-the-
 fouc-v3/ ref]) to do this inline in the document's `<head>` so that it
 takes effect instantly before anything is loaded. 30056.diff actually
 makes things worse by loading an extra javascript file, slowing down the
 site load.

 Patch incoming for the inline approach.

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


More information about the wp-trac mailing list