Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #50557, comment 3


Ignore:
Timestamp:
07/04/2020 07:41:24 PM (4 years ago)
Author:
azaozz
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #50557, comment 3

    initial v1  
    11Thanks for the fix :)
    22
    3 Wasn't sure what's best for "non-displayable images". Same for `tif, tiff` and probably for `bmp`. Currently they are treated as images (as the mime type is `image/*`) but then when creating the attachment post for the uploaded file, image meta is also created for them which seems wrong as they can only be used as "files". Worth another ticket for 5.6.
     3Wasn't sure what's best for "non-displayable images". Same for `tif, tiff` and probably for `bmp`. Currently they are treated as images (as the mime type is `image/*`) but then when creating the attachment post for the uploaded file, image meta is also created for them which seems wrong as they can only be used as "files" on a website. Worth another ticket for 5.6.