Skip to:
Content

BuddyPress.org

Opened 17 years ago

Closed 17 years ago

#1091 closed defect (bug) (fixed)

No filter for the widget "Recent Site Wide Posts"

Reported by: pushi22le Owned by:
Priority: major Milestone: 1.1
Component: Version:
Severity: 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
17 years ago

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

#2 @apeatling
17 years ago

  • Resolutionfixed
  • Status newclosed

(In [1955]) Fixes #1091

Note: See TracTickets for help on using tickets.