Skip to:
Content

BuddyPress.org

Changeset 910 for trunk/bp-groups.php


Ignore:
Timestamp:
01/23/2009 07:47:38 PM (15 years ago)
Author:
apeatling
Message:

Fixes #386

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-groups.php

    r906 r910  
    948948                $group_link = bp_group_permalink( $group, false );
    949949
    950                 $post_content = apply_filters( 'bp_the_topic_post_content', stripslashes( $forum_post['post_text'] ) );
     950                $post_content = apply_filters( 'bp_the_topic_post_content', bp_create_excerpt( stripslashes( $forum_post['post_text'] ) ) );
    951951           
    952952                $content = sprintf ( __('%s posted on the forum topic %s in the group %s:', 'buddypress'), $user_link, '<a href="' . $group_link . '/forum/topic/' . $forum_topic['topic_id'] . '">' . $forum_topic['topic_title'] . '</a>', '<a href="' . $group_link . '">' . $group->name . '</a>' ) . ' <span class="time-since">%s</span>';           
     
    973973                $group_link = bp_group_permalink( $group, false );
    974974               
    975                 $post_content = apply_filters( 'bp_the_topic_post_content', stripslashes( $forum_post['post_text'] ) );
     975                $post_content = apply_filters( 'bp_the_topic_post_content', bp_create_excerpt( stripslashes( $forum_post['post_text'] ) ) );
    976976               
    977977                $content = sprintf ( __('%s created the forum topic %s in the group %s:', 'buddypress'), $user_link, '<a href="' . $group_link . '/forum/topic/' . $forum_topic['topic_id'] . '">' . $forum_topic['topic_title'] . '</a>', '<a href="' . $group_link . '">' . $group->name . '</a>' ) . ' <span class="time-since">%s</span>';         
Note: See TracChangeset for help on using the changeset viewer.