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

WordPress Trac noreply at wordpress.org
Fri Dec 26 13:14:38 UTC 2025


#64442: Deprecate and remove HTML5 script theme support
-------------------------------------------------+-------------------------
 Reporter:  jonsurrell                           |       Owner:  (none)
     Type:  enhancement                          |      Status:  new
 Priority:  normal                               |   Milestone:  7.0
Component:  Script Loader                        |     Version:
 Severity:  normal                               |  Resolution:
 Keywords:  2nd-opinion has-patch has-unit-      |     Focuses:  javascript
  tests                                          |
-------------------------------------------------+-------------------------

Comment (by jonsurrell):

 In [changeset:"61411" 61411]:
 {{{
 #!CommitTicketReference repository="" revision="61411"
 Scripts: Remove default type attribute from tags.

 `SCRIPT`, `STYLE`, and stylesheet `LINK` tags do not require a type
 attribute since the HTML5 standard was released in 2008. Removing the type
 attribute simplifies logic and normalizes the produced HTML content.

 Developed in https://github.com/WordPress/wordpress-develop/pull/10658.

 Follow-up to [46164].

 Props hardikhuptechdev, jonsurrell, dmsnell, westonruter.
 Fixes #64428. See #59883, #64442.
 }}}

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


More information about the wp-trac mailing list