Changeset 5427
- Timestamp:
- 12/01/2011 05:02:54 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-activity/bp-activity-admin.php
r5426 r5427 198 198 199 199 // Is this a bulk request? 200 if ( 'bulk_' == substr( $doaction, 0, 5 ) && ! empty( $_REQUEST['aid'] ) ) {200 if ( 'bulk_' == substr( $doaction, 0, 5 ) && ! empty( $_REQUEST['aid'] ) ) { 201 201 // Check this is a valid form submission 202 202 check_admin_referer( 'bulk-activities' ); … … 855 855 function column_response( $item ) { 856 856 // Is $item is a root activity? 857 if ( empty( $item['item_id'] ) ) {857 if ( empty( $item['item_id'] ) || ! in_array( $item['type'], apply_filters( 'bp_activity_admin_root_activity_types', array( 'activity_comment' ), $item ) ) ) { 858 858 $comment_count = !empty( $item['children'] ) ? bp_activity_recurse_comment_count( (object) $item ) : 0; 859 859 $root_activity_url = network_admin_url( 'admin.php?page=bp-activity&aid=' . $item['id'] );
Note: See TracChangeset
for help on using the changeset viewer.