[wp-trac] [WordPress Trac] #50668: jquery-migrate.js in latest beta version 5.5 gone?
WordPress Trac
noreply at wordpress.org
Wed Jul 15 12:29:18 UTC 2020
#50668: jquery-migrate.js in latest beta version 5.5 gone?
--------------------------------+------------------------------
Reporter: BackuPs | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: External Libraries | Version: trunk
Severity: normal | Resolution:
Keywords: | Focuses:
--------------------------------+------------------------------
Comment (by SergeyBiryukov):
From the official [https://jquery.com/upgrade-guide/3.0/#jquery-migrate-
plugin jQuery Upgrade Guide]:
> [https://github.com/jquery/jquery-migrate/#README Version 3.0 of the
jQuery Migrate Plugin] ''does not'' warn about or restore behaviors that
were removed in previous major version changes such as jQuery 1.9/2.0. Use
the following steps to upgrade from a version of jQuery older than 1.11.0
or 2.1.0 to this new version 3.0:
>
> 1. Upgrade the version of jQuery on the page to the latest 1.x or 2.x
version.
> 2. Add the uncompressed [https://github.com/jquery/jquery-
migrate/tree/1.x-stable/#README jQuery Migrate 1.x Plugin] to the page.
> 3. Optional but recommended, update any plugins in use since later
versions are usually the most compatible with recent versions of jQuery.
> 4. Test the page and resolve any warnings that appear on the console,
using the [https://github.com/jquery/jquery-
migrate/tree/1.x-stable/warnings.md JQMIGRATE 1.x warning documentation]
as a guide.
> 5. Remove the jQuery Migrate 1.x plugin and ensure that the updated
jQuery code on the page continues to work properly with only the latest
jQuery 1.x/2.x in use.
> 6. Upgrade the version of jQuery on the page to the latest 3.x version
and add the uncompressed [https://github.com/jquery/jquery-migrate/#README
jQuery Migrate 3.x plugin] to the page.
> 7. Test the page and resolve any warnings that appear on the console,
using the [https://github.com/jquery/jquery-
migrate/blob/master/warnings.md JQMIGRATE 3.x warning documentation] as a
guide. Report any bugs in third-party plugins to the plugin author.
> 8. Remove the jQuery Migrate 3.x plugin and ensure that the page
continues to work properly with only the latest jQuery 3.x in use.
* Steps 1 to 3 are what's currently in core.
* Steps 4 and 5 are what's being done in WordPress 5.5. It's now up to
plugin and theme developers to update their code to longer require jQuery
Migrate 1.x.
* Steps 6 and 7 are planned for WordPress 5.6.
* Steps 8 is planned for WordPress 5.7 or later.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/50668#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list