Skip to:
Content

BuddyPress.org

Changeset 8258


Ignore:
Timestamp:
04/09/2014 12:48:39 AM (11 years ago)
Author:
r-a-y
Message:

Profile Visibility Settings:

When a user is on their "Settings > Profile" screen, on form
submission, the page tries to redirect to the privacy slug, which
does not exist. (See r7960.)

This commit addresses this by using the correct slug - profile -
for the redirect.

See #5352

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-xprofile/bp-xprofile-actions.php

    r7960 r8258  
    104104
    105105    // Redirect to the root domain
    106     bp_core_redirect( bp_displayed_user_domain() . bp_get_settings_slug() . '/privacy' );
     106    bp_core_redirect( bp_displayed_user_domain() . bp_get_settings_slug() . '/profile' );
    107107}
    108108add_action( 'bp_actions', 'bp_xprofile_action_settings' );
Note: See TracChangeset for help on using the changeset viewer.