Skip to:
Content

BuddyPress.org

Changeset 5973


Ignore:
Timestamp:
04/10/2012 06:44:41 PM (13 years ago)
Author:
boonebgorges
Message:

Filter the before- and after-ul tags in bp_activity_recurse_comments(), for easier theming. Fixes #4137. Props chrisclayton

File:
1 edited

Legend:

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

    r5950 r5973  
    13891389                return false;
    13901390
    1391             echo '<ul>';
     1391            echo apply_filters( 'bp_activity_recurse_comments_start_ul', '<ul>');
    13921392            foreach ( (array) $comment->children as $comment_child ) {
    13931393                // Put the comment into the global so it's available to filters
     
    14081408                unset( $activities_template->activity->current_comment );
    14091409            }
    1410             echo '</ul>';
     1410            echo apply_filters( 'bp_activity_recurse_comments_end_ul', '</ul>');
    14111411        }
    14121412
Note: See TracChangeset for help on using the changeset viewer.