Make WordPress Core


Ignore:
Timestamp:
04/01/2007 08:44:10 AM (19 years ago)
Author:
matt
Message:

Don't forget the tag_cache

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/functions.php

    r5150 r5163  
    600600
    601601function clean_post_cache($id) {
    602         global $post_cache, $post_meta_cache, $category_cache, $blog_id;
     602        global $post_cache, $post_meta_cache, $category_cache, $tag_cache, $blog_id;
    603603
    604604        if ( isset( $post_cache[$blog_id][$id] ) )
     
    610610        if ( isset( $category_cache[$blog_id][$id]) )
    611611                unset ( $category_cache[$blog_id][$id] );
     612
     613        if ( isset( $tag_cache[$blog_id][$id]) )
     614                unset ( $tag_cache[$blog_id][$id] );
    612615}
    613616
Note: See TracChangeset for help on using the changeset viewer.