Changeset 1857
- Timestamp:
- 09/11/2009 03:47:32 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-xprofile.php
r1852 r1857 363 363 if ( $errors ) 364 364 bp_core_add_message( __( 'There was a problem updating some of your profile information, please try again.', 'buddypress' ), 'error' ); 365 else 365 else 366 366 bp_core_add_message( __( 'Changes saved.', 'buddypress' ) ); 367 367 … … 414 414 if ( !bp_core_avatar_handle_crop( array( 'item_id' => $bp->displayed_user->id, 'original_file' => $_POST['image_src'], 'crop_x' => $_POST['x'], 'crop_y' => $_POST['y'], 'crop_w' => $_POST['w'], 'crop_h' => $_POST['h'] ) ) ) 415 415 bp_core_add_message( __( 'There was a problem cropping your avatar, please try uploading it again', 'buddypress' ), 'error' ); 416 else 416 else { 417 417 bp_core_add_message( __( 'Your new avatar was uploaded successfully!', 'buddypress' ) ); 418 418 do_action( 'xprofile_avatar_uploaded' ); 419 } 419 420 } 420 421
Note: See TracChangeset
for help on using the changeset viewer.