Changeset 7258
- Timestamp:
- 07/09/2013 08:56:08 PM (11 years ago)
- Location:
- branches/1.7/bp-core
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/1.7/bp-core/bp-core-filters.php
r7025 r7258 52 52 add_filter( 'bp_core_render_message_content', 'wpautop' ); 53 53 add_filter( 'bp_core_render_message_content', 'shortcode_unautop' ); 54 add_filter( 'bp_core_render_message_content', 'wp_kses_data', 5 ); 54 55 55 56 /** -
branches/1.7/bp-core/bp-core-functions.php
r7254 r7258 360 360 361 361 if ( empty( $bp->template_message ) && isset( $_COOKIE['bp-message'] ) ) 362 $bp->template_message = $_COOKIE['bp-message'];362 $bp->template_message = stripslashes( $_COOKIE['bp-message'] ); 363 363 364 364 if ( empty( $bp->template_message_type ) && isset( $_COOKIE['bp-message-type'] ) ) 365 $bp->template_message_type = $_COOKIE['bp-message-type'];365 $bp->template_message_type = stripslashes( $_COOKIE['bp-message-type'] ); 366 366 367 367 add_action( 'template_notices', 'bp_core_render_message' );
Note: See TracChangeset
for help on using the changeset viewer.