Changeset 9190 for trunk/src/bp-groups/bp-groups-actions.php
- Timestamp:
- 11/26/2014 02:47:34 PM (12 years ago)
- File:
-
- 1 edited
-
trunk/src/bp-groups/bp-groups-actions.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-groups/bp-groups-actions.php
r9026 r9190 164 164 165 165 if ( !$bp->groups->new_group_id = groups_create_group( array( 'group_id' => $new_group_id, 'name' => $_POST['group-name'], 'description' => $_POST['group-desc'], 'slug' => groups_check_slug( sanitize_title( esc_attr( $_POST['group-name'] ) ) ), 'date_created' => bp_core_current_time(), 'status' => 'public' ) ) ) { 166 bp_core_add_message( __( 'There was an error saving group details , please try again.', 'buddypress' ), 'error' );166 bp_core_add_message( __( 'There was an error saving group details. Please try again.', 'buddypress' ), 'error' ); 167 167 bp_core_redirect( bp_get_root_domain() . '/' . bp_get_groups_root_slug() . '/create/step/' . bp_get_groups_current_create_step() . '/' ); 168 168 } … … 188 188 189 189 if ( !$bp->groups->new_group_id = groups_create_group( array( 'group_id' => $bp->groups->new_group_id, 'status' => $group_status, 'enable_forum' => $group_enable_forum ) ) ) { 190 bp_core_add_message( __( 'There was an error saving group details , please try again.', 'buddypress' ), 'error' );190 bp_core_add_message( __( 'There was an error saving group details. Please try again.', 'buddypress' ), 'error' ); 191 191 bp_core_redirect( bp_get_root_domain() . '/' . bp_get_groups_root_slug() . '/create/step/' . bp_get_groups_current_create_step() . '/' ); 192 192 }
Note: See TracChangeset
for help on using the changeset viewer.