From ee58f3f3d38d71bc25ae8bebe0b19672686daf76 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Tue, 10 Dec 2019 01:34:01 +0000 Subject: [PATCH] Coding Standards: Fix WPCS and JSHint issues in [46872]. See #47069. Built from https://develop.svn.wordpress.org/trunk@46874 git-svn-id: http://core.svn.wordpress.org/trunk@46674 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/js/admin-bar.js | 3 ++- wp-includes/script-loader.php | 2 +- wp-includes/version.php | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/wp-includes/js/admin-bar.js b/wp-includes/js/admin-bar.js index 948de01fb3..1ee6bd3c09 100644 --- a/wp-includes/js/admin-bar.js +++ b/wp-includes/js/admin-bar.js @@ -10,6 +10,7 @@ * * @return {void} */ +/* global hoverintent */ ( function( document, window, navigator ) { document.addEventListener( 'DOMContentLoaded', function() { var adminBar = document.getElementById( 'wpadminbar' ), @@ -65,7 +66,7 @@ addHoverClass.bind( null, topMenuItems[i] ), removeHoverClass.bind( null, topMenuItems[i] ) ).options( { - timeout: 180, + timeout: 180 } ); /** diff --git a/wp-includes/script-loader.php b/wp-includes/script-loader.php index d1d56b4f66..27e0c8e996 100644 --- a/wp-includes/script-loader.php +++ b/wp-includes/script-loader.php @@ -1516,7 +1516,7 @@ function wp_default_scripts( &$scripts ) { $scripts->add( 'hoverIntent', "/wp-includes/js/hoverIntent$suffix.js", array( 'jquery' ), '1.8.1', 1 ); // JS-only version of hoverintent (no dependencies). - $scripts->add( 'hoverintent-js', "/wp-includes/js/hoverintent-js.min.js", array(), '2.2.1', 1 ); + $scripts->add( 'hoverintent-js', '/wp-includes/js/hoverintent-js.min.js', array(), '2.2.1', 1 ); $scripts->add( 'customize-base', "/wp-includes/js/customize-base$suffix.js", array( 'jquery', 'json2', 'underscore' ), false, 1 ); $scripts->add( 'customize-loader', "/wp-includes/js/customize-loader$suffix.js", array( 'customize-base' ), false, 1 ); diff --git a/wp-includes/version.php b/wp-includes/version.php index cb8a5cf0ce..8ba4f065dc 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -13,7 +13,7 @@ * * @global string $wp_version */ -$wp_version = '5.4-alpha-46872'; +$wp_version = '5.4-alpha-46874'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.