Changes between Initial Version and Version 1 of Ticket #59432, comment 6
- Timestamp:
- 11/06/2023 07:59:59 AM (16 months ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #59432, comment 6
initial v1 3 3 3. It appears to me that adding HTML5 themes support for scripts and styles does indeed remove the `type`. Good, but it does not remove the `/>` for the link tag, like when enqueueing styles (but there are countless others). We can see an example of this hardcoded `/>` in `"<link rel='%s' id='%s-css'%s href='%s'%s media='%s' />\n"`,in `WP_Styles->do_item()`. So the statement that a theme has to declare said support and it will solve everything is only half-applicable. 4 4 5 Of course WP is free to choose what is best, but it should also respect the choice of the webmaster, which, presuming we allow the HTML5 support, should of course also be applied to these "warnings" . Adding support does notjust mean avoiding errors.5 Of course WP is free to choose what is best, but it should also respect the choice of the webmaster, which, presuming we allow the HTML5 support, should of course also be applied to these "warnings" or "information"s. Adding support does ''not'' just mean avoiding errors. 6 6 7 7 I would suggest that: