Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
02/23/2012 03:09:09 AM (13 years ago)
Author:
johnjamesjacoby
Message:

Add 'bp_core_render_message_content' filter to bp_core_render_message() to more automate output formatting.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-core/bp-core-filters.php

    r5758 r5826  
    33// Exit if accessed directly
    44if ( !defined( 'ABSPATH' ) ) exit;
     5
     6// Add some filters to feedback messages
     7add_filter( 'bp_core_render_message_content', 'wptexturize'       );
     8add_filter( 'bp_core_render_message_content', 'convert_smilies'   );
     9add_filter( 'bp_core_render_message_content', 'convert_chars'     );
     10add_filter( 'bp_core_render_message_content', 'wpautop'           );
     11add_filter( 'bp_core_render_message_content', 'shortcode_unautop' );
    512
    613/**
Note: See TracChangeset for help on using the changeset viewer.