Opened 5 years ago

Last modified 3 years ago

#6819 new defect (bug)

EXIF data extracted from uploaded images stored incorrectly

Reported by: matt Owned by: tellyworth
Priority: normal Milestone: Future Release
Component: Media Version: 2.5
Severity: normal Keywords: blessed
Cc:

Description

Currently extracted EXIF data is stored as a single custom field with a serialized array containing all the data - it should be stored with one-custom-field per data entry, probably with the exif_ prefix.

Change History (4)

I agree. I stored it there in the first place so as to fit in with the existing method of storing image metadata.

I think we should move all of the image and attachment metadata into separate rows rather than a serialized array.

That serialized array is fetched and updated with wp_get_attachment_metadata() and wp_update_attachment_metadata(), so we can probably maintain API compatibility and just change the underlying storage method.

There are also some things in the attachment meta that could be cleaned up and standardized but that's probably best considered as a separate step.

Please also consider issues related to the EXIF content. See: http://trac.wordpress.org/ticket/6819

  • Component changed from Administration to Media

comment:4   ryan3 years ago

  • Milestone changed from 2.9 to Future Release
Note: See TracTickets for help on using tickets.