Skip to:
Content

BuddyPress.org

Changeset 8921


Ignore:
Timestamp:
08/14/2014 07:14:07 PM (10 years ago)
Author:
djpaul
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-messages/bp-messages-filters.php

    r6342 r8921  
    5353
    5454add_filter( 'bp_get_message_notice_text',        'make_clickable', 9 );
    55 add_filter( 'bp_get_message_thread_excerpt',     'make_clickable', 9 );
    5655add_filter( 'bp_get_the_thread_message_content', 'make_clickable', 9 );
    5756
Note: See TracChangeset for help on using the changeset viewer.