[wp-trac] [WordPress Trac] #43581: jquery.js should be changed to .min

WordPress Trac noreply at wordpress.org
Tue Mar 20 23:38:19 UTC 2018


#43581: jquery.js should be changed to .min
-------------------------+--------------------------------------
 Reporter:  calumbrash   |       Owner:
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  Awaiting Review
Component:  General      |     Version:  trunk
 Severity:  normal       |  Resolution:
 Keywords:  close        |     Focuses:  javascript, performance
-------------------------+--------------------------------------
Changes (by jeremyfelt):

 * keywords:   => close


Comment:

 Hi @calumbrash, thanks for opening a ticket.

 WordPress has included the minified version of jQuery in its current
 location since [4904]. I dug around to see if we had ever made a conscious
 decision, but [https://core.trac.wordpress.org/ticket/21736#comment:7 this
 comment] probably says it best.

 If WordPress were to start serving jQuery at `jquery.min.js`, then we
 would also need to provide a backwards compatible fallback at `jquery.js`,
 which would increase the size of the WP project without much benefit.

 A related ticket is #43055, which deals with how JS may be organized in
 the project going forward.

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


More information about the wp-trac mailing list