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

WordPress Trac noreply at wordpress.org
Wed Jan 21 04:53:10 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 AramZS):

 Replying to [comment:13 retlehs]:
 > Replying to [comment:12 wonderboymusic]:
 > > `type` is optional in HTML5, not required. I don't think it hurts to
 keep it.
 >
 > Since it's optional, why keep it?

 Always better to be more specific than less, right?

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


More information about the wp-trac mailing list