Skip to:
Content

Changeset 6624


Ignore:
Timestamp:
12/11/12 00:33:38 (17 months ago)
Author:
r-a-y
Message:

Show activity comments when using AJAX.

r6452 introduced a workaround to prevent double output when posting new
activity stream comments. This was done by killing the
bp_activity_recurse_comments() function when DOING_AJAX was defined.

However, this also caused activitiy comments to be hidden when using any
other AJAX action (clicking on the "Load More" button, changing the
activity filter).

r6591 properly addressed the double activity stream comment issue.

Therefore, this commit reverts r6452.

File:
1 edited

Legend:

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

    r6619 r6624  
    15421542        function bp_activity_recurse_comments( $comment ) { 
    15431543            global $activities_template; 
    1544  
    1545             // Prevent double the output from new activity steam comments 
    1546             if ( defined( 'DOING_AJAX' ) ) 
    1547                 return false; 
    15481544 
    15491545            if ( empty( $comment ) ) 
Note: See TracChangeset for help on using the changeset viewer.