1 | Index: bp-activity/bp-activity-template.php |
---|
2 | =================================================================== |
---|
3 | --- bp-activity/bp-activity-template.php (revision 5634) |
---|
4 | +++ bp-activity/bp-activity-template.php (working copy) |
---|
5 | @@ -1556,7 +1556,7 @@ |
---|
6 | function bp_get_activity_comment_name() { |
---|
7 | global $activities_template; |
---|
8 | |
---|
9 | - $name = apply_filters( 'bp_acomment_name', $activities_template->activity->current_comment->user_fullname, $activities_template->activity->current_comment ); // backward compatibility |
---|
10 | + $name = bp_is_active( 'xprofile' ) ? apply_filters( 'bp_acomment_name', $activities_template->activity->current_comment->user_fullname, $activities_template->activity->current_comment ) : ""; // backward compatibility |
---|
11 | |
---|
12 | return apply_filters( 'bp_activity_comment_name', $name ); |
---|
13 | } |
---|