Ticket #3253: 3253.02.patch
File 3253.02.patch, 1.3 KB (added by , 14 years ago) |
---|
-
buddypress/bp-activity/bp-activity-template.php
839 839 // Reply link - the span is so that threaded reply links can be 840 840 // hidden when JS is off. 841 841 if ( is_user_logged_in() && bp_activity_can_comment_reply( $comment ) ) 842 $content .= apply_filters( 'bp_activity_comment_reply_link', '<span class="acomment-replylink"> · <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"> · <a href="#acomment-' . $comment_child->id . '" class="acomment-reply" id="acomment-reply-' . $activities_template->activity->id . '">' . __( 'Reply', 'buddypress' ) . '</a></span>', $comment_child ); 843 843 844 844 // Delete link 845 845 if ( $bp->loggedin_user->is_super_admin || $bp->loggedin_user->id == $comment->user_id ) { … … 1141 1141 } 1142 1142 function bp_get_total_mention_count_for_user( $user_id = 0 ) { 1143 1143 global $bp; 1144 1144 1145 1145 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 ) ); 1146 1146 } 1147 1147