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

WordPress Trac noreply at wordpress.org
Mon Dec 29 11:32:33 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:  2nd-opinion has-patch has-unit-      |     Focuses:  javascript
  tests                                          |
-------------------------------------------------+-------------------------
Changes (by jonsurrell):

 * owner:  (none) => jonsurrell
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"61415" 61415]:
 {{{
 #!CommitTicketReference repository="" revision="61415"
 Scripts: Remove non-HTML5 script support.

 Remove the following behaviors that are obsolete in HTML5:

 - CDATA wrappers around `SCRIPT` tag contents.
 - Conversion of boolean attributes to strings (attribute `async="async"`
 becomes `async`).

 HTML5 was released in 2008 and data suggests virtually all WordPress sites
 are served as HTML5. See #59883 for more details.

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

 Props jonsurrell, westonruter, azaozz, soyebsalar01, dmsnell.
 Fixes #64442. See #59883.
 }}}

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


More information about the wp-trac mailing list