Make WordPress Core

Opened 3 years ago

Closed 3 years ago

#46447 closed enhancement (duplicate)

Remove type="text/javascript" with enqueue_script

Reported by: Maigret Owned by:
Milestone: Priority: normal
Severity: minor Version: 5.1
Component: Script Loader Keywords:
Focuses: Cc:


Hi, with HTML5 it's no more necessary to add type attribute for each JS loaded with enqueue_script. Why not removing it? It's recommended by W3C Validator.

Change History (1)

#1 @swissspidy
3 years ago

  • Component changed from Themes to Script Loader
  • Milestone Awaiting Review deleted
  • Resolution set to duplicate
  • Status changed from new to closed

Thanks for your report and welcome to WordPress Trac! Please note that this issue has been reported multiple times and we're already tracking it in #42804.

Note: See TracTickets for help on using tickets.