Skip to:
Content

BuddyPress.org

Ticket #5488: 5488.avatar_activity.patch

File 5488.avatar_activity.patch, 593 bytes (added by r-a-y, 11 years ago)
  • bp-xprofile/bp-xprofile-activity.php

    diff --git bp-xprofile/bp-xprofile-activity.php bp-xprofile/bp-xprofile-activity.php
    index aa3dcd5..7e103be 100644
    function xprofile_register_activity_actions() { 
    1818
    1919        // Register the activity stream actions for this component
    2020        bp_activity_set_action(
    21                 $bp->profile->id,
     21                // older avatar activity items use 'profile' for component
     22                // see r4273
     23                'profile',
     24
    2225                'new_avatar',
    2326                __( 'Member changed profile picture', 'buddypress' ),
    2427                'bp_xprofile_format_activity_action_new_avatar'