Changeset 13441 for trunk/src/bp-groups/actions/leave-group.php
- Timestamp:
- 03/23/2023 07:35:38 PM (18 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-groups/actions/leave-group.php
r13437 r13441 46 46 } 47 47 48 $group = groups_get_current_group();48 $group = groups_get_current_group(); 49 49 $redirect = bp_get_group_url( $group ); 50 50 51 51 if ( ! $group->is_visible ) { 52 $redirect = trailingslashit( bp_loggedin_user_domain() . bp_get_groups_slug() ); 52 $groups_slug = bp_get_groups_slug(); 53 $redirect = bp_loggedin_user_url( 54 array( 55 'single_item_component' => bp_rewrites_get_slug( 'members', 'member_' . $groups_slug, $groups_slug ), 56 ) 57 ); 53 58 } 54 59
Note: See TracChangeset
for help on using the changeset viewer.