[wp-trac] [WordPress Trac] #39550: Some Non-image files fail to upload after 4.7.1
WordPress Trac
noreply at wordpress.org
Sat Jan 14 20:21:23 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: needs-patch | Focuses:
---------------------------+------------------------
Comment (by kosso):
4.7.1 immediately broke .m4a audio file uploads.
`wp-includes/functions.php` incorrectly assigns it as `audio/mpeg'
According to rfc4337 it should be set to `audio\mp4`
Changing it to this fixed m4a uploads for me.
- Note: Many places have different ideas about what the correct MIME type
for 'Apple MPEG-4 audio' should be. Observed are :
audio/mp4
audio/m4a
audio/x-m4a
audio/mp4a-latm [Low-overhead MPEG-4 Audio
Transport Multiplex]
--
Ticket URL: <https://core.trac.wordpress.org/ticket/39550#comment:47>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list