Skip to:
Content

bbPress.org


Ignore:
Timestamp:
03/03/2017 01:50:46 PM (8 years ago)
Author:
netweb
Message:

Users: Use bbp_rel_nofollow() for users profile description in user-profile.php template.

This changeset will help curb spammers taking advantage of posting URLs in their user profile descriptions.

Props Robkk.
Fixes #2854.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/templates/default/bbpress/user-profile.php

    r6258 r6355  
    1919        <?php if ( bbp_get_displayed_user_field( 'description' ) ) : ?>
    2020
    21             <p class="bbp-user-description"><?php bbp_displayed_user_field( 'description' ); ?></p>
     21            <p class="bbp-user-description"><?php echo bbp_rel_nofollow( bbp_get_displayed_user_field( 'description' ) ); ?></p>
    2222
    2323        <?php endif; ?>
Note: See TracChangeset for help on using the changeset viewer.