[wp-trac] [WordPress Trac] #64442: Deprecate and remove HTML5 script theme support
WordPress Trac
noreply at wordpress.org
Tue Feb 17 10:10:35 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 poena):
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?
And if they don't remove it now, nothing will break, it's just about
tidying up.
{{{
add_theme_support(
'html5',
array(
'comment-form',
'comment-list',
'gallery',
'caption',
'style',
'script',
'navigation-widgets',
)
);
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/64442#comment:26>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list