Ticket #5150: 5150.patch
File 5150.patch, 572 bytes (added by , 11 years ago) |
---|
-
bp-xprofile-screens.php
198 198 if ( ! bp_core_avatar_handle_crop( $args ) ) { 199 199 bp_core_add_message( __( 'There was a problem cropping your avatar.', 'buddypress' ), 'error' ); 200 200 } else { 201 bp_core_ add_message( __( 'Your new avatar was uploaded successfully.', 'buddypress') );201 bp_core_redirect( bp_loggedin_user_domain() ); 202 202 do_action( 'xprofile_avatar_uploaded' ); 203 203 } 204 204 }