Changeset 8005 for trunk/bp-activity/bp-activity-functions.php
- Timestamp:
- 02/28/2014 01:49:15 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-activity/bp-activity-functions.php
r8004 r8005 1244 1244 ) ); 1245 1245 1246 // Clear the comment cache for this activity1247 wp_cache_delete( 'bp_activity_comments_' . $parent_id, 'bp' );1246 // Clear the comment and item cache for this activity 1247 wp_cache_delete( $parent_id, 'bp_activity_comments' ); 1248 1248 wp_cache_delete( $parent_id, 'bp_activity' ); 1249 1249 … … 1663 1663 1664 1664 // Clear the activity comment cache for this activity item 1665 wp_cache_delete( 'bp_activity_comments_' . $activity->id, 'bp' );1665 wp_cache_delete( $activity->id, 'bp_activity_comments' ); 1666 1666 1667 1667 // If Akismet is active, and this was a manual spam/ham request, stop Akismet checking the activity … … 1703 1703 1704 1704 // Clear the activity comment cache for this activity item 1705 wp_cache_delete( 'bp_activity_comments_' . $activity->id, 'bp' );1705 wp_cache_delete( $activity->id, 'bp_activity_comments' ); 1706 1706 1707 1707 // If Akismet is active, and this was a manual spam/ham request, stop Akismet checking the activity
Note: See TracChangeset
for help on using the changeset viewer.