Skip to:
Content

BuddyPress.org

Opened 18 years ago

Closed 18 years ago

#385 closed defect (bug) (fixed)

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

Reported by: westpointer Owned by:
Priority: minor Milestone:
Component: Version:
Severity: 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
18 years ago

  • Resolution → fixed
  • Status new → closed

#2 @apeatling
18 years ago

  • Resolution fixed
  • Status closed → reopened

#3 @apeatling
18 years ago

  • Resolution → fixed
  • Status reopened → closed
Note: See TracTickets for help on using tickets.