Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
05/20/2010 07:33:48 PM (15 years ago)
Author:
apeatling
Message:

Fixes #2342 props hotforwords

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/1.2/bp-blogs.php

    r2992 r3013  
    425425    if ( (int)get_blog_option( $recorded_comment->blog_id, 'blog_public' ) || !bp_core_is_multisite() ) {
    426426        /* Record in activity streams */
    427         $comment_link = get_permalink( $comment->comment_post_ID ) . '#comment-' . $comment_id;
     427        $comment_link = htmlspecialchars( get_comment_link( $comment->comment_ID ) );
    428428        $activity_action = sprintf( __( '%s commented on the blog post %s', 'buddypress' ), bp_core_get_userlink( $user_id ), '<a href="' . $comment_link . '">' . $comment->post->post_title . '</a>' );
    429429        $activity_content = $comment->comment_content;
Note: See TracChangeset for help on using the changeset viewer.