Skip to:
Content

BuddyPress.org

Ticket #5580: bp-xprofile-screens.php.patch

File bp-xprofile-screens.php.patch, 511 bytes (added by milesstewart88, 11 years ago)

Redirect Patch

  • bp-xprofile/bp-xprofile-screens.php

     
    209209                } else {
    210210                        do_action( 'xprofile_avatar_uploaded' );
    211211                        bp_core_add_message( __( 'Your new avatar was uploaded successfully.', 'buddypress' ) );
    212                         bp_core_redirect( bp_loggedin_user_domain() );
     212                        bp_core_redirect( bp_displayed_user_domain() );
    213213                }
    214214        }
    215215