Changeset 6583 for trunk/src/includes/core/cache.php
- Timestamp:
- 06/19/2017 04:29:43 AM (9 years ago)
- File:
-
- 1 edited
-
trunk/src/includes/core/cache.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/includes/core/cache.php
r6573 r6583 167 167 clean_object_term_cache( $post->ID, $post->post_type ); 168 168 169 // Loop through query types and clean caches 170 foreach ( $post_types as $post_type ) { 171 $key = 'bbp_parent_all_' . $post->ID . '_type_' . $post_type . '_child_ids'; 172 wp_cache_delete( $key, 'bbpress_posts' ); 173 } 169 // Bump the last_changed cache 170 wp_cache_set( 'last_changed', microtime(), 'bbpress_posts' ); 174 171 175 172 /**
Note: See TracChangeset
for help on using the changeset viewer.