[wp-trac] [WordPress Trac] #30211: WP_Image_Editor_Imagick::supports_mime_type return incorrect result for image/tiff
WordPress Trac
noreply at wordpress.org
Sun Jan 4 03:08:50 UTC 2015
#30211: WP_Image_Editor_Imagick::supports_mime_type return incorrect result for
image/tiff
--------------------------+-----------------------------
Reporter: mmems | Owner: wonderboymusic
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 4.2
Component: Media | Version: 4.0
Severity: normal | Resolution: fixed
Keywords: | Focuses:
--------------------------+-----------------------------
Changes (by wonderboymusic):
* owner: => wonderboymusic
* status: new => closed
* resolution: => fixed
Comment:
In [changeset:"31044"]:
{{{
#!CommitTicketReference repository="" revision="31044"
ImageMagick expects TIFF files to have `.tiff` as an extension, so the key
in `wp_get_mime_types()` should be `'tiff|tif'` not `'tif|tiff'` so the
proper extension is returned in `WP_Image_Editor->get_extension()`
subclass invocations.
Fixes #30211.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/30211#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list