Changeset 13446 for trunk/src/bp-groups/screens/single/admin.php
- Timestamp:
- 04/04/2023 01:06:03 AM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-groups/screens/single/admin.php
r11923 r13446 14 14 */ 15 15 function groups_screen_group_admin() { 16 if ( ! bp_is_groups_component() || !bp_is_current_action( 'admin' ) )16 if ( ! bp_is_groups_component() || ! bp_is_current_action( 'admin' ) ) { 17 17 return false; 18 } 18 19 19 if ( bp_action_variables() ) 20 if ( bp_action_variables() ) { 20 21 return false; 22 } 21 23 22 bp_core_redirect( bp_get_group_permalink( groups_get_current_group() ) . 'admin/edit-details/' ); 24 $redirect = bp_get_group_manage_url( 25 groups_get_current_group(), 26 bp_groups_get_path_chunks( array( 'edit-details' ), 'manage' ) 27 ); 28 29 bp_core_redirect( $redirect ); 23 30 }
Note: See TracChangeset
for help on using the changeset viewer.