mirror of
https://github.com/WordPress/WordPress.git
synced 2024-11-06 02:41:27 +01:00
Coding Standards: Fix WPCS and JSHint issues in [46872].
Merges [46874] to the 5.3 branch. See #47069. Built from https://develop.svn.wordpress.org/branches/5.3@46875 git-svn-id: http://core.svn.wordpress.org/branches/5.3@46675 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
d73f11a4ce
commit
6e0e255964
@ -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
|
||||
} );
|
||||
|
||||
/**
|
||||
|
@ -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 );
|
||||
|
@ -13,7 +13,7 @@
|
||||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '5.3.1-alpha-46873';
|
||||
$wp_version = '5.3.1-alpha-46875';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
Loading…
Reference in New Issue
Block a user