[wp-trac] [WordPress Trac] #64428: Stop sending SCRIPT and STYLE type attribute for default values.

WordPress Trac noreply at wordpress.org
Thu Dec 18 10:52:17 UTC 2025


#64428: Stop sending SCRIPT and STYLE type attribute for default values.
---------------------------+---------------------
 Reporter:  dmsnell        |       Owner:  (none)
     Type:  enhancement    |      Status:  new
 Priority:  normal         |   Milestone:  7.0
Component:  Script Loader  |     Version:
 Severity:  normal         |  Resolution:
 Keywords:  needs-patch    |     Focuses:
---------------------------+---------------------
Changes (by hardikhuptechdev):

 * Attachment "64428.diff" added.

 Removes redundant type attributes (text/javascript and text/css) from
 SCRIPT and STYLE tags. Verified via PHPCS and PHPUnit; no regressions
 found.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/64428>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list