[wp-trac] [WordPress Trac] #64128: html5_script_support variable is misleading

WordPress Trac noreply at wordpress.org
Wed Oct 22 22:32:14 UTC 2025


#64128: html5_script_support variable is misleading
---------------------------+--------------------------
 Reporter:  jamieburchell  |       Owner:  westonruter
     Type:  defect (bug)   |      Status:  closed
 Priority:  normal         |   Milestone:  6.9
Component:  Script Loader  |     Version:  5.7
 Severity:  normal         |  Resolution:  fixed
 Keywords:  has-patch      |     Focuses:
---------------------------+--------------------------
Changes (by westonruter):

 * status:  accepted => closed
 * resolution:   => fixed


Comment:

 In [changeset:"61052" 61052]:
 {{{
 #!CommitTicketReference repository="" revision="61052"
 Script Loader: Fix logic inversion with `$html5_script_support` in
 `wp_sanitize_script_attributes()`.

 The value was actually whether HTML5 was ''not'' supported.

 Follow-up to [50167].

 Props jamieburchell, sabernhardt.
 See #39941.
 Fixes #64128.
 }}}

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


More information about the wp-trac mailing list