Skip to:
Content

BuddyPress.org

Ticket #1905: 1905.001.diff

File 1905.001.diff, 1.3 KB (added by cnorris23, 14 years ago)
  • bp-groups/bp-groups-notifications.php

     
    247247                        // Set up and send the message
    248248                        $ud = bp_core_get_core_userdata( $receiver_user_id );
    249249                        $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 ) );
    251251
    252252$message = sprintf( __(
    253253'%s mentioned you in the group "%s":
     
    257257To view and respond to the message, log in and visit: %s
    258258
    259259---------------------
    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 );
    261261
    262262                        $message .= sprintf( __( 'To disable these notifications please log in and go to: %s', 'buddypress' ), $settings_link );
    263263