Changeset 6336
- Timestamp:
- 03/02/2017 12:16:32 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/includes/common/formatting.php
r6313 r6336 482 482 // Create the link to the user's profile 483 483 $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 ); 486 486 487 487 return $matches[1] . $link;
Note: See TracChangeset
for help on using the changeset viewer.