[wp-trac] [WordPress Trac] #39550: Some Non-image files fail to upload after 4.7.1

WordPress Trac noreply at wordpress.org
Wed Jan 18 13:21:11 UTC 2017


#39550: Some Non-image files fail to upload after 4.7.1
---------------------------+------------------------
 Reporter:  greatislander  |       Owner:  joemcgill
     Type:  defect (bug)   |      Status:  assigned
 Priority:  normal         |   Milestone:  4.7.2
Component:  Upload         |     Version:  trunk
 Severity:  normal         |  Resolution:
 Keywords:  has-patch      |     Focuses:
---------------------------+------------------------

Comment (by rmccue):

 Just want to note: `application/octet-stream` isn't a real file type, it's
 just a default ("octet" = byte, the type just means "byte stream", aka
 unknown binary data).

 @blobfolio Thanks for the patch. Can't comment on the functionality (not
 really my area), but in terms of structure: WordPress requires PHP 5.2+,
 so cannot use namespaces. To use your library, it would need to be
 5.2-compatible.

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


More information about the wp-trac mailing list