Skip to:
Content

BuddyPress.org

Changeset 3062


Ignore:
Timestamp:
06/20/2010 10:18:47 AM (14 years ago)
Author:
johnjamesjacoby
Message:

Fixes #2405 props cnorris23

Location:
branches/1.2/bp-activity
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/1.2/bp-activity/bp-activity-filters.php

    r2722 r3062  
    4747add_filter( 'bp_get_activity_feed_item_description', 'make_clickable' );
    4848
     49add_filter( 'bp_acomment_name', 'stripslashes_deep' );
    4950add_filter( 'bp_get_activity_action', 'stripslashes_deep' );
    5051add_filter( 'bp_get_activity_content', 'stripslashes_deep' );
  • branches/1.2/bp-activity/bp-activity-templatetags.php

    r3014 r3062  
    577577                $content .= '<li id="acomment-' . $comment->id . '">';
    578578                $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> &middot; ' . 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> &middot; ' . sprintf( __( '%s ago', 'buddypress' ), bp_core_time_since( $comment->date_recorded ) );
    580580
    581581                /* 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.