[wp-trac] [WordPress Trac] #50564: Update jQuery step two
WordPress Trac
noreply at wordpress.org
Thu Aug 13 10:46:37 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 needs-patch | Focuses: javascript
--------------------------------+-------------------------
Comment (by mgol):
One thing that may be important here - while we (the jQuery Core team)
generally try to follow semver right now and only do breaking changes in
major releases, we had to do a breaking change in 3.5 to resolve a
security issue. Details on that change are included in the 3.5 upgrade
guide: https://jquery.com/upgrade-guide/3.5/.
Note that Migrate will not automatically restore previous behavior here as
we prefer Migrate to not reintroduce security issues by default. If this
upgrade is too much for you to do at once, you can call:
{{{
jQuery.UNSAFE_restoreLegacyHtmlPrefilter();
}}}
as indicated in the upgrade guide. This is a Migrate API so it's only
available if you load a new enough Migrate version.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/50564#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list