Make WordPress Core

Opened 8 months ago

Last modified 8 months ago

#59076 new enhancement

Proposal for removing the version numbers of the JS and CSS files when SCRIPT_DEBUG is set to true

Reported by: rajinsharwar's profile rajinsharwar Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version:
Component: Script Loader Keywords:
Focuses: Cc:

Description

I am proposing to remove the version numbers of the JS and CSS files when SCRIPT_DEBUG is set to true. As SCRIPT DEBUG is generally used for developers, in development environments, it's evident that the version numbers can make the changes to the files not reflect on the front end. So, I would suggest adding the functionality of removing the version tags of the scripts, and styles as well when using this constant.

Change History (1)

#1 @rajinsharwar
8 months ago

  • Type changed from defect (bug) to enhancement
Note: See TracTickets for help on using tickets.