#6868 closed defect (bug) (fixed)
BP_Attachment::get_image_data() unit test is failing due to upstream change
| Reported by: | imath | Owned by: | imath |
|---|---|---|---|
| Priority: | normal | Milestone: | 2.5 |
| Component: | Media | Version: | 2.4.0 |
| Severity: | normal | 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)
This ticket was mentioned in Slack in #buddypress by imath. View the logs.
11 years ago
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Let's fix the test.