[wp-trac] [WordPress Trac] #18788: Remove redundant type attributes from script and style tags
WordPress Trac
wp-trac at lists.automattic.com
Tue Sep 27 06:54:03 UTC 2011
#18788: Remove redundant type attributes from script and style tags
----------------------------+-----------------------------
Reporter: solarissmoke | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Administration | Version: 3.3
Severity: normal | Keywords:
----------------------------+-----------------------------
Now that the admin is using the HTML5 doctype everywhere, the
`type="text/javascript"` and `type="text/css"` attributes on script and
style tags are unnecessary (if they weren't anyway), and I think they can
be safely removed to trim a few hundred bytes from core. Should be a
simple search and replace exercise.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/18788>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list