Changeset 3062
- Timestamp:
- 06/20/2010 10:18:47 AM (15 years ago)
- Location:
- branches/1.2/bp-activity
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/1.2/bp-activity/bp-activity-filters.php
r2722 r3062 47 47 add_filter( 'bp_get_activity_feed_item_description', 'make_clickable' ); 48 48 49 add_filter( 'bp_acomment_name', 'stripslashes_deep' ); 49 50 add_filter( 'bp_get_activity_action', 'stripslashes_deep' ); 50 51 add_filter( 'bp_get_activity_content', 'stripslashes_deep' ); -
branches/1.2/bp-activity/bp-activity-templatetags.php
r3014 r3062 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. */
Note: See TracChangeset
for help on using the changeset viewer.