Skip to:
Content

bbPress.org

Ticket #2515: 2515.3.diff

File 2515.3.diff, 1.2 KB (added by netweb, 10 years ago)
  • src/includes/core/filters.php

     
    123123add_filter( 'bbp_edit_forum_pre_content', 'bbp_filter_kses', 30 );
    124124add_filter( 'bbp_edit_forum_pre_content', 'balanceTags',     40 );
    125125
    126 // No follow and wp_unslash on user profile links
     126// No follow and wp_unslash on links
    127127add_filter( 'bbp_get_reply_author_link',      'bbp_rel_nofollow' );
    128128add_filter( 'bbp_get_reply_author_link',      'wp_unslash'       );
     129add_filter( 'bbp_get_reply_to_link',          'bbp_rel_nofollow' );
     130add_filter( 'bbp_get_reply_to_link',          'wp_unslash'       );
    129131add_filter( 'bbp_get_topic_author_link',      'bbp_rel_nofollow' );
    130132add_filter( 'bbp_get_topic_author_link',      'wp_unslash'       );
     133add_filter( 'bbp_get_topic_reply_link',       'bbp_rel_nofollow' );
     134add_filter( 'bbp_get_topic_reply_link',       'wp_unslash'       );
    131135add_filter( 'bbp_get_user_favorites_link',    'bbp_rel_nofollow' );
    132136add_filter( 'bbp_get_user_favorites_link',    'wp_unslash'       );
    133137add_filter( 'bbp_get_user_subscribe_link',    'bbp_rel_nofollow' );