Changeset 11414
- Timestamp:
- 02/06/2017 07:36:10 PM (8 years ago)
- Location:
- trunk/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-activity/classes/class-bp-activity-list-table.php
r11366 r11414 808 808 } elseif ( 'activity_comment' === $item['type'] ) { 809 809 $parent_activity = new BP_Activity_Activity( $item['item_id'] ); 810 $can_comment = bp_activity_can_comment_reply( (object) $item ); 810 811 } 811 812 -
trunk/src/bp-blogs/bp-blogs-activity.php
r11268 r11414 1301 1301 // Check comment depth and disable if depth is too large. 1302 1302 if ( isset( buddypress()->blogs->thread_depth[$comment->item_id] ) ){ 1303 if ( bp_activity_get_comment_depth( ) >buddypress()->blogs->thread_depth[$comment->item_id] ) {1303 if ( bp_activity_get_comment_depth( $comment ) >= buddypress()->blogs->thread_depth[$comment->item_id] ) { 1304 1304 $retval = false; 1305 1305 }
Note: See TracChangeset
for help on using the changeset viewer.