Skip to:
Content

BuddyPress.org

Changeset 911 for trunk/bp-groups.php


Ignore:
Timestamp:
01/23/2009 08:04:13 PM (18 years ago)
Author:
apeatling
Message:

Fixes #385

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-groups.php

    r910 r911  
    948948                                $group_link = bp_group_permalink( $group, false );
    949949
    950                                 $post_content = apply_filters( 'bp_the_topic_post_content', bp_create_excerpt( stripslashes( $forum_post['post_text'] ) ) );
     950                                $post_content = apply_filters( 'bp_the_topic_post_content', bp_create_excerpt( stripslashes( $forum_post['post_text'] ), 55, false ) );
    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', bp_create_excerpt( stripslashes( $forum_post['post_text'] ) ) );
     975                                $post_content = apply_filters( 'bp_the_topic_post_content', bp_create_excerpt( stripslashes( $forum_post['post_text'] ), 55, false ) );
    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.