Changeset 13443 for trunk/src/bp-settings/actions/notifications.php
- Timestamp:
- 03/31/2023 05:26:39 PM (18 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-settings/actions/notifications.php
r13090 r13443 54 54 do_action( 'bp_core_notification_settings_after_save' ); 55 55 56 bp_core_redirect( bp_displayed_user_domain() . bp_get_settings_slug() . '/notifications/' ); 56 $settings_slug = bp_get_settings_slug(); 57 $path_chunks = array( 58 'single_item_component' => bp_rewrites_get_slug( 'members', 'member_' . $settings_slug, $settings_slug ), 59 'single_item_action' => bp_rewrites_get_slug( 'members', 'member_' . $settings_slug . '_notifications', 'notifications' ), 60 ); 61 62 bp_core_redirect( bp_displayed_user_url( $path_chunks ) ); 57 63 } 58 64 add_action( 'bp_actions', 'bp_settings_action_notifications' );
Note: See TracChangeset
for help on using the changeset viewer.