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: | szaqal21 | Owned by: | wonderboymusic |
|---|---|---|---|
| Priority: | normal | Milestone: | 4.0 |
| Component: | General | Version: | 3.7.1 |
| Severity: | normal | Keywords: | needs-patch |
| Cc: | Focuses: | performance |
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.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Probably