[wp-trac] [WordPress Trac] #64442: Deprecate and remove HTML5 script theme support
WordPress Trac
noreply at wordpress.org
Tue Feb 17 13:28:53 UTC 2026
#64442: Deprecate and remove HTML5 script theme support
-------------------------------------------------+-------------------------
Reporter: jonsurrell | Owner: jonsurrell
Type: enhancement | Status: reopened
Priority: normal | Milestone: 7.0
Component: Script Loader | Version:
Severity: normal | Resolution:
Keywords: has-unit-tests needs-dev-note has- | Focuses: javascript
patch |
-------------------------------------------------+-------------------------
Comment (by sabernhardt):
> Do I understand correctly that from 7.0, 'script' added like in the code
example below will not do anything and the bundled themes should be
updated to remove it?
I would not remove 'script' from the array in themes that support
WordPress versions prior to 7.0. Anyone who has a reason to update the
theme but not core would suddenly have the `type` attribute and/or `CDATA`
for scripts.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/64442#comment:27>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list