[wp-trac] [WordPress Trac] #64442: Deprecate and remove HTML5 script theme support
WordPress Trac
noreply at wordpress.org
Mon Dec 29 19:21:27 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 jonsurrell):
I do wonder what should be done when theme support is declared, checked,
or removed for HTML5 `script`.
Should there be special handling like this?
- `add_theme_support( 'html5', array( 'script' ) )` - ignored.
- `remove_theme_support( 'html5', array( 'script' ) )` - ignored.
- `current_theme_supports( 'html5', 'script' )` - always `true`.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/64442#comment:14>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list