Skip to:
Content

BuddyPress.org

Opened 16 years ago

Closed 16 years ago

#385 closed defect (bug) (fixed)

bp_create_excerpt() in bp-core.php breaks displaying excerpt from forum

Reported by: westpointer's profile westpointer Owned by:
Milestone: Priority: minor
Severity: Version:
Component: Keywords: excerpt, forum
Cc:

Description

In bp-forums-templatetags.php, bp_the_topic_latest_post_excerpt() calls bp_create_excerpt. However, no excerpt is displayed in the "Active Forum Topics" area.

In bp_create_excerpt(), if the line

$text = preg_replace( '|\[(.+?)\](.+?\[/\\1\])?|s', '', $text );}}} is removed, then the excerpt displays.

I haven't figured it out yet, but something in the preg_replace is removing all of the text.

Change History (3)

#1 @apeatling
16 years ago

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

#2 @apeatling
16 years ago

  • Resolution fixed deleted
  • Status changed from closed to reopened

#3 @apeatling
16 years ago

  • Resolution set to fixed
  • Status changed from reopened to closed
Note: See TracTickets for help on using tickets.