Skip to:
Content

BuddyPress.org

Ticket #4137: bp_activity_recurse_comments.patch

File bp_activity_recurse_comments.patch, 767 bytes (added by chrisclayton, 14 years ago)
  • bp-activity-template.php

     
    13881388                        if ( empty( $comment->children ) )
    13891389                                return false;
    13901390
    1391                         echo '<ul>';
     1391                        echo apply_filters( 'bp_activity_recurse_comments_first_ul', '<ul>');
    13921392                        foreach ( (array) $comment->children as $comment_child ) {
    13931393                                // Put the comment into the global so it's available to filters
    13941394                                $activities_template->activity->current_comment = $comment_child;
     
    14071407
    14081408                                unset( $activities_template->activity->current_comment );
    14091409                        }
    1410                         echo '</ul>';
     1410                        echo apply_filters( 'bp_activity_recurse_comments_end_ul', '</ul>');
    14111411                }
    14121412
    14131413/**