Skip to content

External Libraries: Update jQuery Form to version 4.6.1 - #16321

Open
robelsust wants to merge 1 commit into
WordPress:trunkfrom
robelsust:fix/66862-update-jquery-form-4-6-1
Open

robelsust wants to merge 1 commit into
WordPress:trunkfrom
robelsust:fix/66862-update-jquery-form-4-6-1

Conversation

@robelsust

Copy link
Copy Markdown

Trac ticket: https://core.trac.wordpress.org/ticket/66862

Description

Updates the jquery-form external library from version 4.4.0 (updated in r65541 / #66711) 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 changes are required because Gruntfile.js already copies dist/jquery.form.js since r65694, which remains the classic UMD build in 4.6.1.

Full comparison: jquery-form/form@v4.4.0...v4.6.1

Changes

  • Update jquery-form to 4.6.1 in package.json and package-lock.json.
  • Update the registered jquery-form script version to 4.6.1 in src/wp-includes/script-loader.php.

Testing

  • Verified dist/jquery.form.js is present in the jquery-form@4.6.1 tarball as a classic UMD build.
  • Ran vendor/bin/phpcs src/wp-includes/script-loader.php.
  • Ran single-site and multisite PHPUnit suites on tests/phpunit/tests/dependencies/scripts.php (218 tests, 583 assertions), confirming the registered version matches package.json.

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: jquery-form/form@v4.4.0...v4.6.1

Trac ticket: https://core.trac.wordpress.org/ticket/66862
@github-actions

Copy link
Copy Markdown

The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs.

Core Committers: Use this line as a base for the props when committing in SVN:

Props therssoftware.

To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook.


Props Bot commands

You can trigger Props Bot actions by commenting on this PR:

  • @propsbot add <username> to give props to a GitHub or WordPress.org user. Requires write access.
  • @propsbot remove <username> to leave a user out of the props. Requires write access.
  • @propsbot refresh to refresh this list. Adding the props-bot label works too.

@github-actions

Copy link
Copy Markdown

Test using WordPress Playground

The changes in this pull request can previewed and tested using a WordPress Playground instance.

WordPress Playground is an experimental project that creates a full WordPress instance entirely within the browser.

Some things to be aware of

  • All changes will be lost when closing a tab with a Playground instance.
  • All changes will be lost when refreshing the page.
  • A fresh instance is created each time the link below is clicked.
  • Every time this pull request is updated, a new ZIP file containing all changes is created. If changes are not reflected in the Playground instance,
    it's possible that the most recent build failed, or has not completed. Check the list of workflow runs to be sure.

For more details about these limitations and more, check out the Limitations page in the WordPress Playground documentation.

Test this pull request with WordPress Playground.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant