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 | 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)
Note: See
TracTickets for help on using
tickets.