mirror of
https://github.com/WordPress/five-for-the-future.git
synced 2025-07-02 09:11:17 +03:00
Remove bmp, tiff, and ico file types
This commit is contained in:
parent
27c49e2796
commit
760588c838
|
@ -333,9 +333,6 @@ function safelist_image_mimes( $mimes ) {
|
||||||
'jpg|jpeg|jpe' => 'image/jpeg',
|
'jpg|jpeg|jpe' => 'image/jpeg',
|
||||||
'gif' => 'image/gif',
|
'gif' => 'image/gif',
|
||||||
'png' => 'image/png',
|
'png' => 'image/png',
|
||||||
'bmp' => 'image/bmp',
|
|
||||||
'tiff|tif' => 'image/tiff',
|
|
||||||
'ico' => 'image/x-icon',
|
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue