Skip to:
Content

bbPress.org

Changeset 6336


Ignore:
Timestamp:
03/02/2017 12:16:32 AM (8 years ago)
Author:
johnjamesjacoby
Message:

Use bbp_rel_nofollow() in bbp_make_mentions_clickable_callback(). See #3067.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/includes/common/formatting.php

    r6313 r6336  
    482482    // Create the link to the user's profile
    483483    $url    = bbp_get_user_profile_url( $user->ID );
    484     $anchor = '<a href="%1$s" rel="nofollow">@%2$s</a>';
    485     $link   = sprintf( $anchor, esc_url( $url ), esc_html( $user->user_nicename ) );
     484    $anchor = sprintf( '<a href="%1$s">@%2$s</a>', esc_url( $url ), esc_html( $user->user_nicename ) );
     485    $link   = bbp_rel_nofollow( $anchor );
    486486
    487487    return $matches[1] . $link;
Note: See TracChangeset for help on using the changeset viewer.