[wp-trac] [WordPress Trac] #58571: jquery-migrate.min.js is different to jquery-migrate.js

WordPress Trac noreply at wordpress.org
Mon Jun 19 11:59:33 UTC 2023


#58571: jquery-migrate.min.js is different to jquery-migrate.js
---------------------------+-------------------------
 Reporter:  domainsupport  |       Owner:  (none)
     Type:  defect (bug)   |      Status:  closed
 Priority:  normal         |   Milestone:
Component:  Script Loader  |     Version:
 Severity:  major          |  Resolution:  invalid
 Keywords:                 |     Focuses:  javascript
---------------------------+-------------------------
Changes (by SergeyBiryukov):

 * milestone:  Awaiting Review =>


Comment:

 Thanks for the follow-up!

 Just noting that jQuery Migrate was recently updated to 3.4.1 in [55900] /
 #58451.

 I was able to confirm that the `jquery-migrate.js` and `jquery-
 migrate.min.js` files shipped with WordPress core are both an exact match
 of the ones published on jQuery CDN.

 Looking at [https://github.com/jquery/jquery-migrate#development-vs-
 production-versions Development vs. Production versions], it appears that
 the minified build indeed has debugging disabled, and does not generate
 console warnings.

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


More information about the wp-trac mailing list