Skip to:
Content

Changeset 8258


Ignore:
Timestamp:
04/09/14 00:48:39 (4 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.