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

buddypress-trac noreply at wordpress.org
Thu Aug 14 19:14:08 UTC 2014

#5368: bp_message_thread_excerpt doesn't strip tags
 Reporter:  henry.wright              |       Owner:  djpaul
     Type:  defect (bug)              |      Status:  closed
 Priority:  normal                    |   Milestone:  2.1
Component:  Core                      |     Version:  1.9.1
 Severity:  normal                    |  Resolution:  fixed
 Keywords:  good-first-bug has-patch  |
Changes (by djpaul):

 * owner:   => djpaul
 * status:  new => closed
 * resolution:   => fixed


 In [changeset:"8921"]:
 #!CommitTicketReference repository="" revision="8921"
 Messages: don't make links in message excerpts clickable.

 When a user is on the inbox screen viewing the list of inbox messages,
 clicking on the excerpt usually takes them to the message thread
 conversation page where they can read the full message content. If the
 excerpt part of the full message content happens to have a link in it, the
 user could end up on some external website after clicking the excerpt link
 (which 99% of the time takes them to the full message content).

 This change removes `make_clickable` from operating on the message
 excerpt, fixing this problem.

 Fixes #5368, props tw2113

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

More information about the buddypress-trac mailing list