Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
10/22/2012 08:23:32 AM (13 years ago)
Author:
johnjamesjacoby
Message:

Add DOING_AJAX check to bp_activity_recurse_comments() to prevent double output when posting new activity stream comments.

File:
1 edited

Legend:

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

    r6441 r6452  
    14491449        function bp_activity_recurse_comments( $comment ) {
    14501450            global $activities_template;
     1451
     1452            // Prevent double the output from new activity steam comments
     1453            if ( defined( 'DOING_AJAX' ) )
     1454                return false;
    14511455
    14521456            if ( empty( $comment ) )
Note: See TracChangeset for help on using the changeset viewer.