[wp-trac] [WordPress Trac] #64442: Deprecate and remove HTML5 script theme support

WordPress Trac noreply at wordpress.org
Mon Dec 29 20:38:05 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):

 > Should there be special handling like this?

 This seems fitting, @jonsurrell, because many plugins appear to manually
 set the `type` attribute based on the `current_theme_supports( 'html5',
 'script' )` return value.

 [https://wpdirectory.net/search/01KDNX67MKM7QGP1GHW3W1SGNH WP Directory]
 uses of `current_theme_supports()` check for `html5` and `script`.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/64442#comment:15>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list