[wp-trac] [WordPress Trac] #58240: wp_read_image_metadata() doesn't handle Exif array values
WordPress Trac
noreply at wordpress.org
Wed May 3 15:21:19 UTC 2023
#58240: wp_read_image_metadata() doesn't handle Exif array values
--------------------------+------------------------
Reporter: dd32 | Owner: joedolson
Type: defect (bug) | Status: accepted
Priority: normal | Milestone: 6.3
Component: Media | Version:
Severity: normal | Resolution:
Keywords: | Focuses:
--------------------------+------------------------
Changes (by joedolson):
* owner: (none) => joedolson
* status: new => accepted
* milestone: Awaiting Review => 6.3
Comment:
This could definitely be better. My first thought is that this relates to
the multi-camera arrays on the phone, since I see it's citing an iphone 13
with dual cameras. I'm inclined to implode the array and store it as comma
separated values, although for these numerics, we should assume that there
could be plugins using this data numerically. Might require a bit of
research to decide whether it's better to change the data type from a
numeric string to a stringy string or omit some of the image data.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/58240#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list