[wp-trac] [WordPress Trac] #62272: Error when uploading .heic image
WordPress Trac
noreply at wordpress.org
Tue Oct 22 13:56:22 UTC 2024
#62272: Error when uploading .heic image
--------------------------+---------------------
Reporter: azaozz | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: 6.7
Component: Media | Version: trunk
Severity: normal | Resolution:
Keywords: needs-patch | Focuses:
--------------------------+---------------------
Comment (by adamsilverstein):
Replying to [comment:1 azaozz]:
> Seems the fix can be as easy as mapping `image/heif` to `image/heic` in
`wp_check_filetype_and_ext()`:
That works
>
> However wondering if adding `image/heif` to the supported image mime
types may be a better idea?
Yes, lets go ahead and add it.
I can work on a patch.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/62272#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list