Skip to:
Content

bbPress.org

Opened 15 years ago

Closed 15 years ago

#1448 closed defect (bug) (fixed)

Widget for Forum replies

Reported by: elfin's profile elfin Owned by:
Milestone: 2.0 Priority: normal
Severity: normal Version:
Component: Front-end Keywords: has-patch
Cc: elfin@…

Description

Is producing codes like this:

						<a href="http://wordpress.elfden.co.uk/forums/users/admin/" title="View Rich Pedley's profile">Rich Pedley</a> on <a class="bbp-reply-topic-title" href="http://wordpress.elfden.co.uk/forums/topic/new-a-test/#reply-740" title="&lt;p&gt;here goes a reply.&lt;/p&gt;">new %a test</a>, January 10, 2011, 3:42 pm

That title should not contain html tags

Attachments (1)

reply-widget-title.diff (2.0 KB) - added by GautamGupta 15 years ago.
We shouldn't rely on bbp_get_reply_content() for excerpt. It is filtered.

Download all attachments as: .zip

Change History (4)

#1 @elfin
15 years ago

  • Cc elfin@… added

@GautamGupta
15 years ago

We shouldn't rely on bbp_get_reply_content() for excerpt. It is filtered.

#2 @GautamGupta
15 years ago

  • Keywords has-patch added

Attached a patch.

#3 @johnjamesjacoby
15 years ago

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

(In [2809]) Run strip_tags and trim on topic and reply excerpts. Fixes #1448.

Note: See TracTickets for help on using tickets.