Skip to:
Content

BuddyPress.org

Ticket #6112: 6112-remove-kses.diff

File 6112-remove-kses.diff, 579 bytes (added by Mamaduka, 10 years ago)
  • src/bp-core/bp-core-filters.php

    diff --git src/bp-core/bp-core-filters.php src/bp-core/bp-core-filters.php
    index 1f477a3..ea08529 100644
    add_filter( 'bp_core_render_message_content', 'convert_smilies' ); 
    5050add_filter( 'bp_core_render_message_content', 'convert_chars'     );
    5151add_filter( 'bp_core_render_message_content', 'wpautop'           );
    5252add_filter( 'bp_core_render_message_content', 'shortcode_unautop' );
    53 add_filter( 'bp_core_render_message_content', 'wp_kses_data', 5   );
    5453
    5554/**
    5655 * Template Compatibility.