[buddypress-trac] [BuddyPress] #3958: Errors returned from wp_crop_image during avatar upload are not handled, resulting in silent failure

buddypress-trac at lists.automattic.com buddypress-trac at lists.automattic.com
Sat Jan 28 18:23:10 UTC 2012


#3958: Errors returned from wp_crop_image during avatar upload are not handled,
resulting in silent failure
--------------------------+------------------------------
 Reporter:  drhodesmumby  |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Core          |     Version:  1.5.3
 Severity:  major         |  Resolution:
 Keywords:                |
--------------------------+------------------------------

Comment (by DJPaul):

 I'm going to commit a change so it checks the return value, and returns
 false if an error occurs. This ticket can then remain open for a future
 release to make changes throughout so we can return a WP_Error object from
 bp_core_avatar_handle_crop() itself, which will then let us build in more
 specific error messages.

-- 
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/3958#comment:1>
BuddyPress <http://buddypress.org/>
BuddyPress


More information about the buddypress-trac mailing list