Make WordPress Core

Opened 8 years ago

Closed 8 years ago

#43624 closed enhancement (fixed)

Pass EXIF data to the wp_read_image_metadata filter

Reported by: desrosj Owned by: SergeyBiryukov
Priority: normal Milestone: 5.0
Component: Media Version:
Severity: normal Keywords: has-patch commit
Cc: Focuses:

Description

Currently, if a function hooking into wp_read_image_metadata wants to use the image's EXIF data to change the attachment meta, it needs to check and reprocess the EXIF data using exif_read_data().

The processed EXIF data should just be made available through the filter hook.

Attachments (1)

43624.patch (936 bytes ) - added by desrosj 8 years ago.

Download all attachments as: .zip

Change History (8)

@desrosj
8 years ago

#1 @SergeyBiryukov
8 years ago

  • Milestone Awaiting Review5.0

#2 @SergeyBiryukov
8 years ago

In 42878:

Media: In wp_read_image_metadata(), rename $sourceImageType variable to $image_type to match coding standards.

See #43624.

#3 @SergeyBiryukov
8 years ago

  • Owner set to SergeyBiryukov
  • Resolutionfixed
  • Status newclosed

In 42879:

Media: Pass EXIF data to the wp_read_image_metadata filter.

Props desrosj.
Fixes #43624.

#4 @johnbillion
8 years ago

  • Resolution fixed
  • Status closedreopened

Let's merge [42878] and [42879] into 5.0.

#5 @pento
8 years ago

  • Keywords commit added

👍🏻

#6 @SergeyBiryukov
8 years ago

In 43749:

Media: In wp_read_image_metadata(), rename $sourceImageType variable to $image_type to match coding standards.

Merges [42878] to the 5.0 branch.
See #43624.

#7 @SergeyBiryukov
8 years ago

  • Resolutionfixed
  • Status reopenedclosed

In 43750:

Media: Pass EXIF data to the wp_read_image_metadata filter.

Props desrosj.
Merges [42879] to the 5.0 branch.
Fixes #43624.

Note: See TracTickets for help on using tickets.