Make WordPress Core

Opened 4 years ago

Closed 4 years ago

Last modified 4 years ago

#43581 closed enhancement (worksforme)

jquery.js should be changed to .min

Reported by: calumbrash Owned by:
Milestone: Priority: normal
Severity: normal Version: 5.1
Component: General Keywords: close
Focuses: javascript, performance Cc:


jquery.js core file should be changed to jquery.min.js to reflect that the file is minified.

Change History (4)

#1 @mukesh27
4 years ago

  • Focuses javascript performance added; administration coding-standards removed
  • Type changed from defect (bug) to enhancement

#2 @jeremyfelt
4 years ago

  • Keywords close added

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 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.

#3 @calumbrash
4 years ago

  • Resolution set to worksforme
  • Status changed from new to closed

Okay thanks for your reply Jeremy, I thought that this might be the case.

#4 @netweb
4 years ago

  • Milestone Awaiting Review deleted
Note: See TracTickets for help on using tickets.