Changeset 13443 for trunk/src/bp-xprofile/screens/settings-profile.php
- Timestamp:
- 03/31/2023 05:26:39 PM (19 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-xprofile/screens/settings-profile.php
r13393 r13443 111 111 112 112 // Redirect to the root domain. 113 bp_core_redirect( bp_displayed_user_domain() . bp_get_settings_slug() . '/profile' ); 113 $settings_slug = bp_get_settings_slug(); 114 $path_chunks = array( 115 'single_item_component' => bp_rewrites_get_slug( 'members', 'member_' . $settings_slug, $settings_slug ), 116 'single_item_action' => bp_rewrites_get_slug( 'members', 'member_' . $settings_slug . '_profile', 'profile' ), 117 ); 118 bp_core_redirect( bp_displayed_user_url( $path_chunks ) ); 114 119 } 115 120 add_action( 'bp_actions', 'bp_xprofile_action_settings' );
Note: See TracChangeset
for help on using the changeset viewer.