[buddypress-trac] [BuddyPress Trac] #6868: BP_Attachment::get_image_data() unit test is failing due to upstream change

buddypress-trac noreply at wordpress.org
Tue Feb 2 17:51:57 UTC 2016


#6868: BP_Attachment::get_image_data() unit test is failing due to upstream change
---------------------------+---------------------------------
 Reporter:  imath          |      Owner:
     Type:  defect (bug)   |     Status:  new
 Priority:  normal         |  Milestone:  Under Consideration
Component:  API - Avatars  |    Version:  2.4.0
 Severity:  normal         |   Keywords:  has-patch
---------------------------+---------------------------------
 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...

--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/6868>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac


More information about the buddypress-trac mailing list