[wp-trac] [WordPress Trac] #27789: WebP, WebM missing from wp-includes files
WordPress Trac
noreply at wordpress.org
Sun Apr 13 14:35:49 UTC 2014
#27789: WebP, WebM missing from wp-includes files
--------------------------+------------------------
Reporter: Doug Simmons | Owner:
Type: defect (bug) | Status: closed
Priority: normal | Milestone:
Component: Media | Version: 3.8.2
Severity: normal | Resolution: duplicate
Keywords: | Focuses:
--------------------------+------------------------
Changes (by SergeyBiryukov):
* status: new => closed
* resolution: => duplicate
* milestone: Awaiting Review =>
Comment:
Replying to [ticket:27789 Doug Simmons]:
> It's tedious and deters me from updating because I have to do it over by
hand each time in order not to break anything.
There's no need to patch core to add WebP to `get_allowed_mime_types()`
and `wp_ext2type()` functions, you can use
[https://codex.wordpress.org/Plugin_API/Filter_Reference/upload_mimes
upload_mimes] and `ext2type` filters for that.
This is a duplicate of #24718.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/27789#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list