Changeset 13309 for trunk/src/bp-activity/bp-activity-cache.php
- Timestamp:
- 08/08/2022 09:24:03 PM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-activity/bp-activity-cache.php
r13149 r13309 50 50 51 51 // Clear the comments cache for the parent activity ID. 52 if ( 'activity_comment' === $activity->type ) {52 if ( 'activity_comment' === $activity->type && ! empty( $activity->item_id ) ) { 53 53 wp_cache_delete( $activity->item_id, 'bp_activity_comments' ); 54 54 }
Note: See TracChangeset
for help on using the changeset viewer.