Changeset 8678 for trunk/src/bp-groups/bp-groups-actions.php
- Timestamp:
- 07/23/2014 06:40:28 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-groups/bp-groups-actions.php
r8605 r8678 307 307 308 308 if ( !bp_core_avatar_handle_crop( array( 'object' => 'group', 'avatar_dir' => 'group-avatars', 'item_id' => $bp->groups->current_group->id, 'original_file' => $_POST['image_src'], 'crop_x' => $_POST['x'], 'crop_y' => $_POST['y'], 'crop_w' => $_POST['w'], 'crop_h' => $_POST['h'] ) ) ) 309 bp_core_add_message( __( 'There was an error saving the group avatar, please try uploading again.', 'buddypress' ), 'error' );309 bp_core_add_message( __( 'There was an error saving the group profile photo, please try uploading again.', 'buddypress' ), 'error' ); 310 310 else 311 bp_core_add_message( __( 'The group avatarwas uploaded successfully!', 'buddypress' ) );311 bp_core_add_message( __( 'The group profile photo was uploaded successfully!', 'buddypress' ) ); 312 312 } 313 313 }
Note: See TracChangeset
for help on using the changeset viewer.