Skip to:
Content

BuddyPress.org

Opened 15 years ago

Closed 15 years ago

#1091 closed defect (bug) (fixed)

No filter for the widget "Recent Site Wide Posts"

Reported by: pushi22le's profile pushi22le Owned by:
Milestone: 1.1 Priority: major
Severity: Version:
Component: Keywords:
Cc:

Description

Sometimes HTML tags are not closed in the widget "Recent Site Wide Posts". For example, when a blogger creates a post with html tags und closes them very late, it could happen that the widget will cut the posts before the tags are closed.
Maybe the solution is replacing "bp_create_excerpt($post->post_content)" in bp-blogs-widget.php by "apply_filters( 'bp_get_activity_content', apply_filters( 'the_content', bp_create_excerpt($post->post_content)))"

Sorry for my bad english

Change History (2)

#1 @apeatling
15 years ago

I will use a "force_balance_tags" filter on bp_create_excerpt(). This should fix.

#2 @apeatling
15 years ago

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

(In [1955]) Fixes #1091

Note: See TracTickets for help on using tickets.