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

WordPress Trac noreply at wordpress.org
Fri Jan 23 17:02:43 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-patch has-unit-tests needs-dev-  |     Focuses:  javascript
  note                                           |
-------------------------------------------------+-------------------------

Comment (by jonsurrell):

 In [changeset:"61518" 61518]:
 {{{
 #!CommitTicketReference repository="" revision="61518"
 Script Loader: Deprecate `wp_sanitize_script_attributes()`.

 The function is no longer used by WordPress and better alternatives are
 available: `wp_get_script_tag()` and `wp_get_inline_script_tag()`.

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

 Follow-up to [61415], [61485].

 Props jonsurrell, westonruter.
 Fixes #64511. See #64442.
 }}}

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


More information about the wp-trac mailing list