Skip to:

Opened 7 years ago

Closed 7 years ago

#628 closed defect (bug) (fixed)

Mod to function bp_the_topic_latest_post_excerpt()

Reported by: burtadsit Owned by:
Milestone: Priority: major
Severity: Version:
Component: Keywords:


This is a fix that should have been in the ticket for 'large character counts in topic' don't display in bp. I have no idea where that went. Anyway this goes along with not getting the entire topic and all replies. bp_the_topic_latest_post_excerpt() does that. This fix changes the fn to get the last post directly from info in the topic details.

function bp_the_topic_latest_post_excerpt() {

global $forum_template;

$post = bp_forums_get_post( $forum_template->topic->topic_last_post_id );
echo apply_filters( 'bp_the_topic_latest_post_excerpt', $postpost_text? );


Change History (1)

#1 @apeatling
7 years ago

  • Resolution set to fixed
  • Status changed from new to closed

(In [1269]) Fixes #628 props burtadsit.

Note: See TracTickets for help on using tickets.