WordPress.org

Make WordPress Core

Opened 5 weeks ago

Closed 5 weeks ago

#43079 closed enhancement (duplicate)

WordPress generated code gives warnings in W3C validator

Reported by: andreisimion777 Owned by:
Milestone: Priority: normal
Severity: normal Version:
Component: Script Loader Keywords:
Focuses: Cc:

Description

All the code generated by WordPress when enqueueing scripts is with "script type" tag. Recently W3C released a new standard, telling us that every script should be enqueued only with the "script" tag.

https://s14.postimg.org/i7ldwwl01/36c37d642e1a7eca2b0670cad9fe42ccec9a2fe5.png

As shown in the screenshot above, basically every site running WordPress at this moment is W3 invalid due to this matter.

Change History (1)

#1 @ocean90
5 weeks ago

  • Milestone Awaiting Review deleted
  • Resolution set to duplicate
  • Status changed from new to closed

Hello @andreisimion777, welcome to WordPress Trac!

Thanks for your ticket, we're already tracking this request in #42804.

Note: See TracTickets for help on using tickets.