[buddypress-trac] [BuddyPress Trac] #5368: bp_message_thread_excerpt doesn't strip tags

buddypress-trac noreply at wordpress.org
Sun Feb 2 00:28:06 UTC 2014

#5368: bp_message_thread_excerpt doesn't strip tags
 Reporter:  henry.wright  |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Core          |    Version:  1.9.1
 Severity:  normal        |   Keywords:
 In bp-messages-template.php, {{{strip_tags()}}} is performed on the
 message excerpt before the excerpt is retuned. However, tags don't seem to
 be stripped.

 Steps to reproduce:

 1. Send somebody a private message which has a link in the first sentence.
 Suggested message would be something like: {{{http://buddypress.org/ is

 2. Log in as the recipient of the message and navigate to
 example.com/members/username/messages to view the new message in the inbox

 3. Click on the message excerpt (not on the message subject). You'll be
 taken to http://buddypress.org/

 This indicates the {{{<a href="...}}} tag wasn't stripped properly.

Ticket URL: <https://buddypress.trac.wordpress.org/ticket/5368>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac

More information about the buddypress-trac mailing list