From bbb02f69ada5e59fffdb17b591c596fc826be1d7 Mon Sep 17 00:00:00 2001 From: Jonathan Desrosiers Date: Mon, 19 Sep 2022 14:14:54 +0000 Subject: [PATCH] External Libraries: Update the jQuery library to version 3.6.1. This is a maintenance release. For more information on the changs included, see https://blog.jquery.com/2022/08/26/jquery-3-6-1-maintenance-release/. Props tobiasbg. See #56451. git-svn-id: https://develop.svn.wordpress.org/trunk@54202 602fd350-edb4-49c9-b593-d223f7449a82 --- package-lock.json | 6 +++--- package.json | 2 +- src/wp-includes/script-loader.php | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/package-lock.json b/package-lock.json index 03e42f8f2b..6d55078f0f 100644 --- a/package-lock.json +++ b/package-lock.json @@ -20787,9 +20787,9 @@ } }, "jquery": { - "version": "3.6.0", - "resolved": "https://registry.npmjs.org/jquery/-/jquery-3.6.0.tgz", - "integrity": "sha512-JVzAR/AjBvVt2BmYhxRCSYysDsPcssdmTFnzyLEts9qNwmjmu4JTAMYubEfwVOSwpQ1I1sKKFcxhZCI2buerfw==" + "version": "3.6.1", + "resolved": "https://registry.npmjs.org/jquery/-/jquery-3.6.1.tgz", + "integrity": "sha512-opJeO4nCucVnsjiXOE+/PcCgYw9Gwpvs/a6B1LL/lQhwWwpbVEVYDZ1FokFr8PRc7ghYlrFPuyHuiiDNTQxmcw==" }, "jquery-color": { "version": "2.2.0", diff --git a/package.json b/package.json index 0164bda87d..eb523d18a0 100644 --- a/package.json +++ b/package.json @@ -139,7 +139,7 @@ "formdata-polyfill": "4.0.10", "hoverintent": "2.2.1", "imagesloaded": "4.1.4", - "jquery": "3.6.0", + "jquery": "3.6.1", "jquery-color": "2.2.0", "jquery-form": "4.3.0", "jquery-hoverintent": "1.10.2", diff --git a/src/wp-includes/script-loader.php b/src/wp-includes/script-loader.php index c2fa897e29..3d84cbd749 100644 --- a/src/wp-includes/script-loader.php +++ b/src/wp-includes/script-loader.php @@ -804,8 +804,8 @@ function wp_default_scripts( $scripts ) { // jQuery. // The unminified jquery.js and jquery-migrate.js are included to facilitate debugging. - $scripts->add( 'jquery', false, array( 'jquery-core', 'jquery-migrate' ), '3.6.0' ); - $scripts->add( 'jquery-core', "/wp-includes/js/jquery/jquery$suffix.js", array(), '3.6.0' ); + $scripts->add( 'jquery', false, array( 'jquery-core', 'jquery-migrate' ), '3.6.1' ); + $scripts->add( 'jquery-core', "/wp-includes/js/jquery/jquery$suffix.js", array(), '3.6.1' ); $scripts->add( 'jquery-migrate', "/wp-includes/js/jquery/jquery-migrate$suffix.js", array(), '3.3.2' ); // Full jQuery UI.