Opened 12 years ago
Closed 12 years ago
#27459 closed defect (bug) (fixed)
unnecessary call of wp_cache_delete( 'get_pages', 'posts' ) in clean_post_cache()
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Milestone: | 4.0 | Priority: | normal |
| Severity: | normal | Version: | 3.7.1 |
| Component: | General | Keywords: | needs-patch |
| Focuses: | performance | Cc: |
Description
Since results of get_pages() are cached as seperate keys:
$cache_key = "get_pages:$key:$last_changed"; ... wp_cache_set( $cache_key, $page_structure, 'posts' );
call of:
wp_cache_delete('get_pages', 'posts');
in
clean_post_cache()
does nothing, should be removed.
Change History (3)
Note: See
TracTickets for help on using
tickets.
Probably