From 62a62368979adb4359d7eaebf895cb83c8b2bc1e Mon Sep 17 00:00:00 2001 From: robelsust Date: Sun, 29 Nov 2026 12:47:44 +0600 Subject: [PATCH] External Libraries: Update jQuery Form to version `4.6.1`. Updates the `jquery-form` library from version `4.4.0` to `4.6.1`. Core registers the `jquery-form` script handle but does not use it, so this update only affects plugins and themes that enqueue it. No build script change is needed because `Gruntfile.js` already copies `dist/jquery.form.js` (r65694), which remains the classic UMD build in 4.6.1. Release notes: https://github.com/jquery-form/form/compare/v4.4.0...v4.6.1 Trac ticket: https://core.trac.wordpress.org/ticket/66862 --- package-lock.json | 10 +++++----- package.json | 2 +- src/wp-includes/script-loader.php | 2 +- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/package-lock.json b/package-lock.json index 77cb8b4e307b5..d857ff1273b21 100644 --- a/package-lock.json +++ b/package-lock.json @@ -23,7 +23,7 @@ "imagesloaded": "5.0.0", "jquery": "3.7.1", "jquery-color": "3.0.0", - "jquery-form": "4.4.0", + "jquery-form": "4.6.1", "jquery-hoverintent": "1.10.2", "jquery-migrate": "3.6.0", "jsonlint": "1.6.3", @@ -19344,10 +19344,10 @@ } }, "node_modules/jquery-form": { - "version": "4.4.0", - "resolved": "https://registry.npmjs.org/jquery-form/-/jquery-form-4.4.0.tgz", - "integrity": "sha512-dCjOdu1fHKhL2zbaDhnVhkRDzrFj9LDm6g/NLx6f5Rdp0spW13R00Fsppqs8StnudU/HFiYjMe/ZTccQXakmvw==", - "license": "(LGPL-2.1+ OR MIT)", + "version": "4.6.1", + "resolved": "https://registry.npmjs.org/jquery-form/-/jquery-form-4.6.1.tgz", + "integrity": "sha512-PZm46bG4EuGF1LsXG/MOsFggISI+zww2oELr3ZsiY8CHFgJ+Fe8l+Uwe+mLXufDETltUaRtFpQPtopDvGFRAbA==", + "license": "(LGPL-2.1-or-later OR MIT)", "dependencies": { "jquery": ">=1.7.2" } diff --git a/package.json b/package.json index caf5d007d1d9d..54b73ff98f86a 100644 --- a/package.json +++ b/package.json @@ -106,7 +106,7 @@ "imagesloaded": "5.0.0", "jquery": "3.7.1", "jquery-color": "3.0.0", - "jquery-form": "4.4.0", + "jquery-form": "4.6.1", "jquery-hoverintent": "1.10.2", "jquery-migrate": "3.6.0", "jsonlint": "1.6.3", diff --git a/src/wp-includes/script-loader.php b/src/wp-includes/script-loader.php index b37f2d5717e0e..da154e13e1288 100644 --- a/src/wp-includes/script-loader.php +++ b/src/wp-includes/script-loader.php @@ -951,7 +951,7 @@ function wp_default_scripts( $scripts ) { $scripts->add( 'jquery-ui-widget', false, array( 'jquery-ui-core' ), '1.14.2', 1 ); // Deprecated, not used in core, most functionality is included in jQuery 1.3. - $scripts->add( 'jquery-form', "/wp-includes/js/jquery/jquery.form$suffix.js", array( 'jquery' ), '4.4.0', 1 ); + $scripts->add( 'jquery-form', "/wp-includes/js/jquery/jquery.form$suffix.js", array( 'jquery' ), '4.6.1', 1 ); // jQuery plugins. $scripts->add( 'jquery-color', '/wp-includes/js/jquery/jquery.color.min.js', array( 'jquery' ), '3.0.0', 1 );