[wp-trac] [WordPress Trac] #40101: Cannot upload WOFF files

WordPress Trac noreply at wordpress.org
Sat Mar 11 05:20:09 UTC 2017


#40101: Cannot upload WOFF files
--------------------------+--------------------
 Reporter:  eddiemcham    |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  4.7.4
Component:  Upload        |     Version:  4.7.3
 Severity:  blocker       |  Resolution:
 Keywords:                |     Focuses:
--------------------------+--------------------

Comment (by eddiemcham):

 Well, that was certainly unexpected. I ran the test.php on 3 different
 WOFF files and got the same result:

 `MIME: application/octet-stream`

 So I applied that to my functions.php script and can now upload the WOFF
 to my local WP's Media Library, and the page no longer throws errors about
 missing WOFF files.

 Before I test this on our QA and production environments, I guess I should
 ask why the change, and is it likely to change back to `x-font-woff` or
 `font-woff`?

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


More information about the wp-trac mailing list