Ticket #2405: 2405.001.diff
File 2405.001.diff, 2.1 KB (added by , 15 years ago) |
---|
-
bp-activity/bp-activity-filters.php
52 52 add_filter( 'bp_get_activity_parent_content', 'stripslashes_deep' ); 53 53 add_filter( 'bp_get_activity_latest_update', 'stripslashes_deep' ); 54 54 add_filter( 'bp_get_activity_feed_item_description', 'stripslashes_deep' ); 55 add_filter( 'bp_acomment_name', 'stripslashes_deep' ); 55 56 56 57 add_filter( 'bp_get_activity_content', 'bp_activity_make_nofollow_filter' ); 57 58 add_filter( 'bp_get_activity_content_body', 'bp_activity_make_nofollow_filter' ); -
bp-activity/bp-activity-templatetags.php
576 576 577 577 $content .= '<li id="acomment-' . $comment->id . '">'; 578 578 $content .= '<div class="acomment-avatar"><a href="' . bp_core_get_user_domain( $comment->user_id, $comment->user_nicename, $comment->user_login ) . '">' . bp_core_fetch_avatar( array( 'item_id' => $comment->user_id, 'width' => 25, 'height' => 25, 'email' => $comment->user_email ) ) . '</a></div>'; 579 $content .= '<div class="acomment-meta"><a href="' . bp_core_get_user_domain( $comment->user_id, $comment->user_nicename, $comment->user_login ) . '">' . apply_filters( 'bp_acomment_name', $comment->user_fullname, $comment ) . '</a> · ' . sprintf( __( '%s ago', 'buddypress' ), bp_core_time_since( strtotime( $comment->date_recorded )) );579 $content .= '<div class="acomment-meta"><a href="' . bp_core_get_user_domain( $comment->user_id, $comment->user_nicename, $comment->user_login ) . '">' . apply_filters( 'bp_acomment_name', $comment->user_fullname, $comment ) . '</a> · ' . sprintf( __( '%s ago', 'buddypress' ), bp_core_time_since( $comment->date_recorded ) ); 580 580 581 581 /* Reply link - the span is so that threaded reply links can be hidden when JS is off. */ 582 582 if ( is_user_logged_in() )