#6868 closed defect (bug) (fixed)
BP_Attachment::get_image_data() unit test is failing due to upstream change
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Milestone: | 2.5 | Priority: | normal |
| Severity: | normal | Version: | 2.4.0 |
| Component: | Media | Keywords: | has-patch commit |
| Cc: |
Description
Just in case, i've posted a ticket on Core Trac: https://core.trac.wordpress.org/ticket/35694
I've tested and the upstream change is only impacting the unit test because i was using === and the type of the orientation metadata is now a string.
But when an image is upside down, the BP_Attachment::edit_image() is still rotating the image. So we can probably fix the unit test...
Attachments (1)
Change History (5)
Note: See
TracTickets for help on using
tickets.
Let's fix the test.