[wp-trac] [WordPress Trac] #61948: Uploading WAV files fail in Gutenberg editor on Firefox browser when drag-dropped
WordPress Trac
noreply at wordpress.org
Tue Nov 12 00:51:32 UTC 2024
#61948: Uploading WAV files fail in Gutenberg editor on Firefox browser when drag-
dropped
--------------------------+------------------------------
Reporter: imranh920 | Owner: ramonopoly
Type: defect (bug) | Status: closed
Priority: normal | Milestone: Awaiting Review
Component: General | Version:
Severity: normal | Resolution: fixed
Keywords: has-patch | Focuses:
--------------------------+------------------------------
Changes (by ramonopoly):
* owner: (none) => ramonopoly
* status: assigned => closed
* resolution: => fixed
Comment:
In [changeset:"59389" 59389]:
{{{
#!CommitTicketReference repository="" revision="59389"
Mime Types: support uploading wav files in Firefox
When uploading `wav` files in the editor, Chrome and other browsers
identify the mime type of the file as `audio/wav`. Firefox, however,
identifies the mime type as `audio/x-wav`.
This commit updates the `'wav'` mime type key in `wp_get_mime_types()` to
support `x-wav` so that uploading wav files work in Firefox. Previously,
the editor reported an unsupported mime type error.
Props imranh920, ramonopoly.
Fixes #61948.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/61948#comment:10>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list