imath / bp-reshare

BuddyPress component to reshare activities
33 stars 16 forks source link

Activity updates in groups don't have a reshare action #6

Closed mgmartel closed 11 years ago

mgmartel commented 11 years ago

If an activity update is posted in a group, resharing it leaves the action empty.

Can be fixed by adding after line 96 in bp-reshare-functions.php:

            else
                $action = sprintf( __( "%s reshared an activity originally shared by %s in the group %s", 'bp-reshare' ), bp_core_get_userlink( $bp->loggedin_user->id ), $secondary_avatar . bp_core_get_userlink( $activity->user_id ), $group_link );

((Ps. great work on this plugin!))

vfowler commented 11 years ago

Thanks mgmartel - great pick up on this bug. I don't know yet how to do a pull request to update my copy, so I just copied and pasted the additional lines. Cheers.

imath commented 11 years ago

@vfowler just added @mgmartel fix to master.