Make WordPress Core

Changeset 31044


Ignore:
Timestamp:
01/04/2015 03:08:48 AM (10 years ago)
Author:
wonderboymusic
Message:

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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/functions.php

    r30674 r31044  
    21752175    'png' => 'image/png',
    21762176    'bmp' => 'image/bmp',
    2177     'tif|tiff' => 'image/tiff',
     2177    'tiff|tif' => 'image/tiff',
    21782178    'ico' => 'image/x-icon',
    21792179    // Video formats.
Note: See TracChangeset for help on using the changeset viewer.