Skip to:
Content

BuddyPress.org

Ticket #1349: patch.diff

File patch.diff, 841 bytes (added by petronic, 15 years ago)
  • bp-groups.php

     
    20642064
    20652065                /* Record this in activity streams */
    20662066                $activity_content = sprintf( __( '%s wrote on the wire of the group %s:', 'buddypress'), bp_core_get_userlink( $bp->loggedin_user->id ), '<a href="' . bp_get_group_permalink( $bp->groups->current_group ) . '">' . attribute_escape( $bp->groups->current_group->name ) . '</a>' );
    2067                 $activity_content .= '<blockquote>' . bp_create_excerpt( attribute_escape( $content ) ) . '</blockquote>';
     2067                $activity_content .= '<blockquote>' . bp_create_excerpt( $wire_post->content ) . '</blockquote>';
    20682068
    20692069                groups_record_activity( array(
    20702070                        'content' => apply_filters( 'groups_activity_new_wire_post', $activity_content ),