Changeset 13443 for trunk/src/bp-groups/screens/user/invites.php
- Timestamp:
- 03/31/2023 05:26:39 PM (3 years ago)
- File:
-
- 1 edited
-
trunk/src/bp-groups/screens/user/invites.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-groups/screens/user/invites.php
r13273 r13443 42 42 $redirect_to = urldecode( $_GET['redirect_to'] ); 43 43 } else { 44 $redirect_to = trailingslashit( bp_displayed_user_domain() . bp_get_groups_slug() . '/' . bp_current_action() ); 44 $path_chunks = bp_members_get_path_chunks( array( bp_get_groups_slug(), bp_current_action() ) ); 45 $redirect_to = bp_displayed_user_url( $path_chunks ); 45 46 } 46 47 … … 61 62 $redirect_to = urldecode( $_GET['redirect_to'] ); 62 63 } else { 63 $redirect_to = trailingslashit( bp_displayed_user_domain() . bp_get_groups_slug() . '/' . bp_current_action() ); 64 $path_chunks = bp_members_get_path_chunks( array( bp_get_groups_slug(), bp_current_action() ) ); 65 $redirect_to = bp_displayed_user_url( $path_chunks ); 64 66 } 65 67
Note: See TracChangeset
for help on using the changeset viewer.