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

buddypress-trac noreply at wordpress.org
Wed Feb 3 21:20:31 UTC 2016


#6868: BP_Attachment::get_image_data() unit test is failing due to upstream change
------------------------------+---------------------
 Reporter:  imath             |       Owner:  imath
     Type:  defect (bug)      |      Status:  closed
 Priority:  normal            |   Milestone:  2.5
Component:  API - Avatars     |     Version:  2.4.0
 Severity:  normal            |  Resolution:  fixed
 Keywords:  has-patch commit  |
------------------------------+---------------------
Changes (by imath):

 * owner:   => imath
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"10502"]:
 {{{
 #!CommitTicketReference repository="" revision="10502"
 Fix the unit test about `BP_Attachment::get_image_data()`

 WordPress changed the type of the "Orientation" image metadata from an
 integer to a string. As we were using a strict comparison inside the unit
 test, it was failing.

 Fixes #6868
 }}}

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


More information about the buddypress-trac mailing list