[wp-trac] [WordPress Trac] #18788: Remove redundant type attributes from script and style tags

WordPress Trac noreply at wordpress.org
Wed Jan 21 05:07:01 UTC 2015


#18788: Remove redundant type attributes from script and style tags
---------------------------------+-----------------------------
 Reporter:  solarissmoke         |       Owner:
     Type:  enhancement          |      Status:  closed
 Priority:  normal               |   Milestone:  4.2
Component:  Script Loader        |     Version:  3.3
 Severity:  normal               |  Resolution:  fixed
 Keywords:  3.4-early has-patch  |     Focuses:  administration
---------------------------------+-----------------------------

Comment (by solarissmoke):

 Replying to [comment:14 AramZS]:
 > Always better to be more specific than less, right?

 The HTML5 specification is explicitly clear about what a missing `type`
 attribute means, so specificity isn't an issue. Removing it means less
 bloat and easier code to read.

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


More information about the wp-trac mailing list