[wp-trac] [WordPress Trac] #59883: Remove support for HTML4 and XHTML

WordPress Trac noreply at wordpress.org
Mon Dec 29 11:32:33 UTC 2025


#59883: Remove support for HTML4 and XHTML
-------------------------------------------------+-------------------------
 Reporter:  dmsnell                              |       Owner:  (none)
     Type:  enhancement                          |      Status:  new
 Priority:  normal                               |   Milestone:  Awaiting
                                                 |  Review
Component:  HTML API                             |     Version:  6.5
 Severity:  normal                               |  Resolution:
 Keywords:  dev-feedback has-dev-note 2nd-       |     Focuses:
  opinion                                        |
-------------------------------------------------+-------------------------

Comment (by jonsurrell):

 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/59883#comment:13>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list