[wp-trac] [WordPress Trac] #32358: Add unminified jQuery to core for better debugging with SCRIPT_DEBUG enabled

WordPress Trac noreply at wordpress.org
Wed Jun 29 12:15:15 UTC 2016


#32358: Add unminified jQuery to core for better debugging with SCRIPT_DEBUG
enabled
------------------------------------------------+--------------------------
 Reporter:  CrazyJaco                           |       Owner:
     Type:  feature request                     |      Status:  assigned
 Priority:  normal                              |   Milestone:  Future
Component:  Script Loader                       |  Release
 Severity:  normal                              |     Version:
 Keywords:  has-patch ongoing needs-unit-tests  |  Resolution:
                                                |     Focuses:
------------------------------------------------+--------------------------

Comment (by futtta):

 This ticket is also important for JS minification plugins; currently by
 default they will try to re-minify jquery.js (which is relatively
 "costly", CPU-wise), as they only skip minification if the ".min" suffix
 (or "-min") is in the filename.

 So ideally we indeed have jquery.js (new, unminified) and jquery.min.js
 (minified, currently named jquery.js), with that last one being loaded by
 default.

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


More information about the wp-trac mailing list