[wp-trac] [WordPress Trac] #50564: Update jQuery step two
WordPress Trac
noreply at wordpress.org
Mon Sep 14 14:03:16 UTC 2020
#50564: Update jQuery step two
-------------------------------------------+-------------------------
Reporter: azaozz | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: 5.6
Component: External Libraries | Version:
Severity: normal | Resolution:
Keywords: early has-patch needs-testing | Focuses: javascript
-------------------------------------------+-------------------------
Changes (by azaozz):
* keywords: early needs-patch => early has-patch needs-testing
Comment:
In 50564.diff:
- Update jQuery to 3.5.1, and jQuery Migrate to 3.3.1.
- Update jQuery UI to 1.12.1. This also brings jQuery UI in the core
repository (vs. adding it from "node_modules") as the build process in UI
1.12.1 has changed quite a bit and doesn't match how it is used/enqueued
in WP.
To keep backwards compatibility the (pre-built) `jquery-ui.js` was split
in three parts:
- All effects are concatenated in a (new) `jquery/ui/effects-all.js`.
- All files from "group: Core" are concatenated in `/ui/core.js`. That
also contains 'jquery-ui-position' and 'jquery-ui-widget'.
- The files from "group: Widgets" and "group: Interactions", like
`draggable.js`, `droppable.js`, `sortable.js`, etc. are still enqueued
separately to optimize loading.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/50564#comment:11>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list