Skip to:
Content

BuddyPress.org

Ticket #3253: 3253.02.patch

File 3253.02.patch, 1.3 KB (added by r-a-y, 14 years ago)
  • buddypress/bp-activity/bp-activity-template.php

     
    839839                                // Reply link - the span is so that threaded reply links can be
    840840                                // hidden when JS is off.
    841841                                if ( is_user_logged_in() && bp_activity_can_comment_reply( $comment ) )
    842                                         $content .= apply_filters( 'bp_activity_comment_reply_link', '<span class="acomment-replylink"> &middot; <a href="#acomment-' . $comment_child->id . '" class="acomment-reply" id="acomment-reply-' . $comment->id . '">' . __( 'Reply', 'buddypress' ) . '</a></span>', $comment_child );
     842                                        $content .= apply_filters( 'bp_activity_comment_reply_link', '<span class="acomment-replylink"> &middot; <a href="#acomment-' . $comment_child->id . '" class="acomment-reply" id="acomment-reply-' . $activities_template->activity->id . '">' . __( 'Reply', 'buddypress' ) . '</a></span>', $comment_child );
    843843
    844844                                // Delete link
    845845                                if ( $bp->loggedin_user->is_super_admin || $bp->loggedin_user->id == $comment->user_id ) {
     
    11411141}
    11421142        function bp_get_total_mention_count_for_user( $user_id = 0 ) {
    11431143                global $bp;
    1144                
     1144
    11451145                return apply_filters( 'bp_get_total_mention_count_for_user', get_user_meta( $user_id, bp_get_user_meta_key( 'bp_new_mention_count' ), true ) );
    11461146        }
    11471147