Skip to:
Content

BuddyPress.org

Ticket #5150: 5150.patch

File 5150.patch, 572 bytes (added by henrywright, 11 years ago)
  • bp-xprofile-screens.php

     
    198198                if ( ! bp_core_avatar_handle_crop( $args ) ) {
    199199                        bp_core_add_message( __( 'There was a problem cropping your avatar.', 'buddypress' ), 'error' );
    200200                } else {
    201                         bp_core_add_message( __( 'Your new avatar was uploaded successfully.', 'buddypress' ) );
     201                        bp_core_redirect( bp_loggedin_user_domain() );
    202202                        do_action( 'xprofile_avatar_uploaded' );
    203203                }
    204204        }