Ticket #8407: 8407.patch
File 8407.patch, 564 bytes (added by , 3 years ago) |
---|
-
src/bp-xprofile/bp-xprofile-activity.php
diff --git src/bp-xprofile/bp-xprofile-activity.php src/bp-xprofile/bp-xprofile-activity.php index 55fea9469..1adfae605 100644
function bp_xprofile_new_avatar_activity( $user_id = 0 ) { 237 237 'type' => 'new_avatar' 238 238 ) ); 239 239 } 240 add_action( ' xprofile_avatar_uploaded', 'bp_xprofile_new_avatar_activity' );240 add_action( 'bp_members_avatar_uploaded', 'bp_xprofile_new_avatar_activity' ); 241 241 242 242 /** 243 243 * Add an activity item when a user has updated his profile.