[wp-trac] [WordPress Trac] #64442: Deprecate and remove HTML5 script theme support
WordPress Trac
noreply at wordpress.org
Mon Dec 29 17:59:32 UTC 2025
#64442: Deprecate and remove HTML5 script theme support
-------------------------------------------------+-------------------------
Reporter: jonsurrell | Owner: jonsurrell
Type: enhancement | Status: closed
Priority: normal | Milestone: 7.0
Component: Script Loader | Version:
Severity: normal | Resolution: fixed
Keywords: has-patch has-unit-tests needs-dev- | Focuses: javascript
note |
-------------------------------------------------+-------------------------
Comment (by dmsnell):
I’m not sure how to edit these, but we have a couple of dangling docs
references that would be good to update.
- `add_theme_support()`
[https://developer.wordpress.org/reference%2Ffunctions%2Fadd_theme_support%2F/#html5
lists `script` in its example]. This documentation page seems to mix the
DocBlock content with “More Information” that comes from somewhere not in
the source code. If that’s the case it makes me think about augmenting the
HTML API docs, should we get the change to do so.
- “Adding Theme Support” in the Codex
[https://codex.wordpress.org/Theme_Markup lists `script` in its example].
Though I logged in to the Codex and the `Edit` link appeared, when I
attempted to go ahead and make the change the page errored out with
`Exception encountered, of type "TypeError"`.
If none of us are sure how to update these pages we might want to ask in
the `#docs` channel.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/64442#comment:12>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list