[wp-trac] [WordPress Trac] #50564: Update jQuery step two

WordPress Trac noreply at wordpress.org
Tue Oct 6 14:05:24 UTC 2020


#50564: Update jQuery step two
-------------------------------------------+-------------------------
 Reporter:  azaozz                         |       Owner:  (none)
     Type:  task (blessed)                 |      Status:  new
 Priority:  normal                         |   Milestone:  5.6
Component:  External Libraries             |     Version:
 Severity:  normal                         |  Resolution:
 Keywords:  early has-patch needs-testing  |     Focuses:  javascript
-------------------------------------------+-------------------------

Comment (by azaozz):

 In https://github.com/WordPress/wordpress-develop/pull/536:
 - Add jquery-migrate.js v.3.3.1 to core and load it with `$suffix` instead
 of `$dev_suffix` (meaning the non-minified versions will be loaded on the
 front-end when `SCRIPT_DEBUG` is true).
 - Add jquery.min.js, update jquery.js to 3.5.1 non-minified. This should
 help when debugging and can be reverted in a future release.
 - Rebuild jQuery UI 1.12.1 and add it to core. The build process has
 changed quite a bit in 1.12.1. In order to keep the optimized loading (and
 maintain AMD/requirejs compatibility) `ui/core.js` had to be rebuild
 completely. Also some changes were needed in all other files. It is
 possible to build UI in our Grunt but seems quite complex, all source
 files need edits.
 - Adjust tests to match the above changes.

 Thinking this is ready. Please test! :)

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/50564#comment:15>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list