Skip to:
Content

BuddyPress.org

Ticket #4350: 4350.01.patch

File 4350.01.patch, 1.2 KB (added by r-a-y, 12 years ago)
  • bp-groups/bp-groups-forums.php

    function groups_update_group_forum_topic( $topic_id, $topic_title, $topic_text, 
    203203                        ) );
    204204                }
    205205
    206                 $activity_action = sprintf( __( '%1$s started the forum topic %2$s in the group %3$s', 'buddypress'), bp_core_get_userlink( $topic->topic_poster ), '<a href="' . bp_get_group_permalink( groups_get_current_group() ) . 'forum/topic/' . $topic->topic_slug .'/">' . esc_attr( $topic->topic_title ) . '</a>', '<a href="' . bp_get_group_permalink( groups_get_current_group() ) . '">' . esc_attr( bp_get_current_group_name() ) . '</a>' );
     206                $activity_action = sprintf( __( '%1$s edited the forum topic %2$s in the group %3$s', 'buddypress'), bp_core_get_userlink( $topic->topic_poster ), '<a href="' . bp_get_group_permalink( groups_get_current_group() ) . 'forum/topic/' . $topic->topic_slug .'/">' . esc_attr( $topic->topic_title ) . '</a>', '<a href="' . bp_get_group_permalink( groups_get_current_group() ) . '">' . esc_attr( bp_get_current_group_name() ) . '</a>' );
    207207                $activity_content = bp_create_excerpt( $topic_text );
    208208
    209209                // Record this in activity streams