[wp-trac] [WordPress Trac] #29196: Set the MIME-Types of JS files to application/javascript

WordPress Trac noreply at wordpress.org
Sat Jan 3 02:56:17 UTC 2015


#29196: Set the MIME-Types of JS files to application/javascript
----------------------------+-----------------------------
 Reporter:  sergej.mueller  |       Owner:  wonderboymusic
     Type:  enhancement     |      Status:  closed
 Priority:  normal          |   Milestone:  4.2
Component:  Script Loader   |     Version:  3.9
 Severity:  normal          |  Resolution:  fixed
 Keywords:  has-patch       |     Focuses:  javascript
----------------------------+-----------------------------
Changes (by wonderboymusic):

 * owner:   => wonderboymusic
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"31029"]:
 {{{
 #!CommitTicketReference repository="" revision="31029"
 When outputting JS with a `Content-Type` header:

 `text/javascript` is obsolete, `application/x-javascript` was
 experimental. `application/javascript` is the recommended type per RFC
 4329.

 Props sergej.mueller.
 Fixes #29196.
 }}}

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


More information about the wp-trac mailing list