Ticket #2401: 2401.001.patch
File 2401.001.patch, 904 bytes (added by , 15 years ago) |
---|
-
buddypress/bp-blogs.php
425 425 if ( (int)get_blog_option( $recorded_comment->blog_id, 'blog_public' ) || !bp_core_is_multisite() ) { 426 426 /* Record in activity streams */ 427 427 $comment_link = htmlspecialchars( get_comment_link( $comment->comment_ID ) ); 428 $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>' );428 $activity_action = sprintf( __( '%s commented on the blog post %s', 'buddypress' ), bp_core_get_userlink( $user_id ), '<a href="' . get_permalink( $comment->comment_post_ID ) . '">' . $comment->post->post_title . '</a>' ); 429 429 $activity_content = $comment->comment_content; 430 430 431 431 /* Record this in activity streams */