[wp-trac] [WordPress Trac] #45633: finfo_file() returns text/plain for json file instead of application/json

WordPress Trac noreply at wordpress.org
Sun Dec 16 04:18:05 UTC 2018


#45633: finfo_file() returns text/plain for json file instead of application/json
--------------------------+-----------------------------
 Reporter:  tabrisrp      |       Owner:  (none)
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  5.0.2
Component:  Upload        |     Version:  5.0.1
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |     Focuses:  administration
--------------------------+-----------------------------
Changes (by mukesh27):

 * Attachment "45633.2.patch" added.

 @subrataemfluence, update patch because you have added {{{ 'json'
 =>'application/json', }}} in **Image formats** instead of **Misc
 application formats**

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/45633>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list