Changeset 13437 for trunk/src/bp-groups/actions/join.php
- Timestamp:
- 03/18/2023 09:42:31 AM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-groups/actions/join.php
r11971 r13437 33 33 if ( !groups_check_user_has_invite( bp_loggedin_user_id(), $bp->groups->current_group->id ) ) { 34 34 bp_core_add_message( __( 'There was an error joining the group.', 'buddypress' ), 'error' ); 35 bp_core_redirect( bp_get_group_ permalink( $bp->groups->current_group ) );35 bp_core_redirect( bp_get_group_url( $bp->groups->current_group ) ); 36 36 } 37 37 } … … 43 43 bp_core_add_message( __( 'You joined the group!', 'buddypress' ) ); 44 44 45 bp_core_redirect( bp_get_group_ permalink( $bp->groups->current_group ) );45 bp_core_redirect( bp_get_group_url( $bp->groups->current_group ) ); 46 46 } 47 47
Note: See TracChangeset
for help on using the changeset viewer.