[wp-trac] [WordPress Trac] #43861: Administrator cannot upload .cpp file to mediafiles

WordPress Trac noreply at wordpress.org
Wed Apr 25 23:11:39 UTC 2018


#43861: Administrator cannot upload .cpp file to mediafiles
--------------------------+----------------------
 Reporter:  acbaile       |       Owner:  (none)
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:
Component:  Media         |     Version:
 Severity:  normal        |  Resolution:  invalid
 Keywords:                |     Focuses:
--------------------------+----------------------

Comment (by acbaile):

 Replying to [comment:1 desrosj]:
 > `.cpp` files are not in the list of file types that WordPress allows to
 be uploaded by default.

 Why? I see between mime_types:


 {{{
 // Text formats.
 'txt|asc|c|cc|h|srt' => 'text/plain',
 }}}

 Is "cpp" so different from "c"?

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


More information about the wp-trac mailing list