Skip to:
Content

BuddyPress.org

Changeset 4478


Ignore:
Timestamp:
06/08/2011 06:15:26 AM (13 years ago)
Author:
djpaul
Message:

Fixes nested activity comment reply javascript, props r-a-y. See #3253

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-activity/bp-activity-template.php

    r4466 r4478  
    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
     
    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    }
Note: See TracChangeset for help on using the changeset viewer.