Make WordPress Core

Opened 6 years ago

Last modified 3 years ago

#35694 assigned defect (bug)

Types of some attachment metadata has changed

Reported by: imath Owned by: ocean90
Milestone: Priority: normal
Severity: normal Version: 4.4.2
Component: Media Keywords:
Focuses: Cc:


Since r36429 when you use wp_read_image_metadata() the ["image_meta"]["orientation"] is no more an integer but a string.

I've noticed it because it made a BuddyPress unit test fail. I don't know if this could have an impact somewhere, so i thought it was best to report it here just in case.

Change History (2)

#1 @obenland
6 years ago

  • Owner set to ocean90
  • Status changed from new to assigned
  • Version changed from trunk to 4.4.2

#2 @ocean90
6 years ago

Looks like it's the case for created_timestamp (int), orientation (int) and aperture (float)? Are there more?

Note: See TracTickets for help on using tickets.