WordPress.org

Make WordPress Core


Ignore:
Timestamp:
07/03/2020 11:13:30 PM (13 months ago)
Author:
azaozz
Message:

Media: Show an error message when a .heic file is uploaded that this type of files cannot be displayed in a web browser and suggesting to convert to JPEG. The message is shown by using filters, plugins that want to handle uploading of .heic files can remove it.

Props mattheweppelsheimer, mikeschroder, jeffr0, andraganescu, desrosj, azaozz.
Fixes #42775.

File:
1 edited

Legend:

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

    r48205 r48288  
    30473047            'tiff|tif'                     => 'image/tiff',
    30483048            'ico'                          => 'image/x-icon',
     3049            'heic'                         => 'image/heic',
    30493050            // Video formats.
    30503051            'asf|asx'                      => 'video/x-ms-asf',
Note: See TracChangeset for help on using the changeset viewer.