[wp-meta] [Making WordPress.org] #5144: [all websites] Declare HTML5 scripts and styles support for better compliance with W3C validator
Making WordPress.org
noreply at wordpress.org
Sun Apr 12 23:09:27 UTC 2020
#5144: [all websites] Declare HTML5 scripts and styles support for better
compliance with W3C validator
----------------------+-------------------------
Reporter: audrasjb | Owner: (none)
Type: defect | Status: new
Priority: normal | Milestone:
Component: General | Keywords: needs-patch
----------------------+-------------------------
Hi,
Given almost all WordPress themes are written in HTML5, they should
declare HTML5 support for styles and scripts to avoid using `type`
attributes in styles and scripts. Otherwise, W3C validator will throw a
warning because of the `type` element.
This option was introduced in WordPress 5.3. For reference, see:
- https://make.wordpress.org/core/2019/10/15/miscellaneous-developer-
focused-changes-in-5-3/
- https://core.trac.wordpress.org/ticket/42804#comment:32
--
Ticket URL: <https://meta.trac.wordpress.org/ticket/5144>
Making WordPress.org <https://meta.trac.wordpress.org/>
Making WordPress.org
More information about the wp-meta
mailing list