Ticket #1905: 1905.001.diff
| File 1905.001.diff, 1.3 KB (added by , 16 years ago) |
|---|
-
bp-groups/bp-groups-notifications.php
247 247 // Set up and send the message 248 248 $ud = bp_core_get_core_userdata( $receiver_user_id ); 249 249 $to = $ud->user_email; 250 $subject = '[' . get_blog_option( BP_ROOT_BLOG, 'blogname' ) . '] ' . sprintf( __( '%s mentioned you in the group "%s"', 'buddypress' ), stripslashes( $poster_name ), wp_filter_kses( stripslashes( $group->name )) );250 $subject = '[' . get_blog_option( BP_ROOT_BLOG, 'blogname' ) . '] ' . sprintf( __( '%s mentioned you in the group "%s"', 'buddypress' ), stripslashes( $poster_name ), stripslashes( $group->name ) ); 251 251 252 252 $message = sprintf( __( 253 253 '%s mentioned you in the group "%s": … … 257 257 To view and respond to the message, log in and visit: %s 258 258 259 259 --------------------- 260 ', 'buddypress' ), $poster_name, wp_filter_kses( stripslashes_deep( $group->name ) ), wp_filter_kses( stripslashes_deep($content) ), $message_link );260 ', 'buddypress' ), $poster_name, stripslashes( $group->name ), wp_filter_kses( stripslashes( $content ) ), $message_link ); 261 261 262 262 $message .= sprintf( __( 'To disable these notifications please log in and go to: %s', 'buddypress' ), $settings_link ); 263 263