Skip to:
Content

BuddyPress.org

Ticket #8407: 8407.patch

File 8407.patch, 564 bytes (added by imath, 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 ) { 
    237237                'type'      => 'new_avatar'
    238238        ) );
    239239}
    240 add_action( 'xprofile_avatar_uploaded', 'bp_xprofile_new_avatar_activity' );
     240add_action( 'bp_members_avatar_uploaded', 'bp_xprofile_new_avatar_activity' );
    241241
    242242/**
    243243 * Add an activity item when a user has updated his profile.