Skip to:
Content

BuddyPress.org

Ticket #5150: 5150.2.patch

File 5150.2.patch, 567 bytes (added by boonebgorges, 11 years ago)
  • bp-xprofile/bp-xprofile-screens.php

    diff --git bp-xprofile/bp-xprofile-screens.php bp-xprofile/bp-xprofile-screens.php
    index 6c3bcee..0135ff5 100644
    function xprofile_screen_change_avatar() { 
    199199                        bp_core_add_message( __( 'There was a problem cropping your avatar.', 'buddypress' ), 'error' );
    200200                } else {
    201201                        bp_core_add_message( __( 'Your new avatar was uploaded successfully.', 'buddypress' ) );
     202                        bp_core_redirect( bp_loggedin_user_domain() );
    202203                        do_action( 'xprofile_avatar_uploaded' );
    203204                }
    204205        }