Skip to:
Content

BuddyPress.org

Changeset 5387


Ignore:
Timestamp:
11/27/2011 04:05:49 PM (8 years ago)
Author:
boonebgorges
Message:

Redirect back to settings page after save. Fixes #3672

File:
1 edited

Legend:

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

    r5329 r5387  
    107107        // Execute additional code
    108108        do_action( 'bp_core_general_settings_after_save' );
     109       
     110        bp_core_redirect( bp_displayed_user_domain() . bp_get_settings_slug() . '/general/' );
    109111    }
    110112
     
    136138
    137139        do_action( 'bp_core_notification_settings_after_save' );
     140       
     141        bp_core_redirect( bp_displayed_user_domain() . bp_get_settings_slug() . '/notifications/' );
    138142    }
    139143
Note: See TracChangeset for help on using the changeset viewer.