Changeset 10134 for branches/2.3/src/bp-xprofile/bp-xprofile-screens.php
- Timestamp:
- 09/24/2015 10:28:21 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.3/src/bp-xprofile/bp-xprofile-screens.php
r9819 r10134 264 264 * Fires right before the redirect, after processing a new avatar. 265 265 * 266 * @since BuddyPress (1.1.0) 266 * @since 1.1.0 267 * @since 2.3.4 Add two new parameters to inform about the user id and 268 * about the way the avatar was set (eg: 'crop' or 'camera') 269 * 270 * @param string $item_id Inform about the user id the avatar was set for 271 * @param string $value Inform about the way the avatar was set ('crop') 267 272 */ 268 do_action( 'xprofile_avatar_uploaded' );273 do_action( 'xprofile_avatar_uploaded', (int) $args['item_id'], 'crop' ); 269 274 bp_core_add_message( __( 'Your new profile photo was uploaded successfully.', 'buddypress' ) ); 270 275 bp_core_redirect( bp_displayed_user_domain() );
Note: See TracChangeset
for help on using the changeset viewer.