Skip to:
Content

bbPress.org

Changeset 4738


Ignore:
Timestamp:
01/29/2013 08:01:41 PM (9 years ago)
Author:
johnjamesjacoby
Message:

Remove "bbp-mention-link" class from bbp_mention_filter() links. Fixes bug where copy/pasting previous post content into TinyMCE causes duplicate topic/reply check to not match correctly. See #2185.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/includes/core/functions.php

    r4736 r4738  
    328328
    329329        // Replace name in content
    330         $content = preg_replace( '/(@' . $username . '\b)/', sprintf( '<a href="%1$s" rel="nofollow" class="bbp-mention-link">@%2$s</a>', bbp_get_user_profile_url( $user->ID ), $username ), $content );
     330        $content = preg_replace( '/(@' . $username . '\b)/', sprintf( '<a href="%1$s" rel="nofollow">@%2$s</a>', bbp_get_user_profile_url( $user->ID ), $username ), $content );
    331331    }
    332332
Note: See TracChangeset for help on using the changeset viewer.