From c1b360a665db6f07b43811511daed97eb4c65a2c Mon Sep 17 00:00:00 2001 From: Ian Stewart Date: Mon, 3 Nov 2014 18:58:23 +0000 Subject: [PATCH] Twenty Fifteen: prevent a flash of visible sub menus before scripts load. Props mattwiebe, aferica, fixes #30056. Built from https://develop.svn.wordpress.org/trunk@30211 git-svn-id: http://core.svn.wordpress.org/trunk@30211 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-content/themes/twentyfifteen/header.php | 1 + wp-content/themes/twentyfifteen/js/functions.js | 2 -- wp-includes/version.php | 2 +- 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/wp-content/themes/twentyfifteen/header.php b/wp-content/themes/twentyfifteen/header.php index ca8f1a5a0d..9cacfc20b8 100644 --- a/wp-content/themes/twentyfifteen/header.php +++ b/wp-content/themes/twentyfifteen/header.php @@ -18,6 +18,7 @@ + diff --git a/wp-content/themes/twentyfifteen/js/functions.js b/wp-content/themes/twentyfifteen/js/functions.js index 4c9f1b33c8..83c0968810 100644 --- a/wp-content/themes/twentyfifteen/js/functions.js +++ b/wp-content/themes/twentyfifteen/js/functions.js @@ -8,8 +8,6 @@ ( function( $ ) { var $body, $window, sidebar, toolbarOffset; - $( 'html' ).removeClass( 'no-js' ); - // Add dropdown toggle that display child menu items. $( '.main-navigation .page_item_has_children > a, .main-navigation .menu-item-has-children > a' ).after( '' ); diff --git a/wp-includes/version.php b/wp-includes/version.php index 8abdb1c13e..36469254da 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.1-alpha-30210'; +$wp_version = '4.1-alpha-30211'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.