Changeset 6248
- Timestamp:
- 10/14/07 04:55:33 (1 year ago)
- Files:
-
- trunk/wp-includes/post.php (modified) (4 diffs)
- trunk/wp-includes/taxonomy.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/wp-includes/post.php
r6247 r6248 515 515 clean_page_cache($postid); 516 516 $wp_rewrite->flush_rules(); 517 } else { 518 clean_post_cache($postid); 517 519 } 518 520 … … 1358 1360 if ( ! empty($file) ) 1359 1361 @ unlink($file); 1362 1363 clean_post_cache($postid); 1360 1364 1361 1365 do_action('delete_attachment', $postid); … … 1628 1632 1629 1633 clean_object_term_cache($id, 'post'); 1634 1635 do_action('clean_post_cache', $id); 1630 1636 } 1631 1637 … … 1639 1645 wp_cache_delete( 'all_page_ids', 'pages' ); 1640 1646 wp_cache_delete( 'get_pages', 'page' ); 1647 1648 do_action('clean_page_cache', $id); 1641 1649 } 1642 1650 trunk/wp-includes/taxonomy.php
r6246 r6248 833 833 clean_term_cache($term, $taxonomy); 834 834 835 do_action('delete_term', $term, $tt_id, $taxonomy); 835 836 do_action("delete_$taxonomy", $term, $tt_id); 836 837 … … 1177 1178 foreach ( $object_ids as $id ) 1178 1179 wp_cache_delete($id, 'object_terms'); 1180 1181 do_action('clean_object_term_cache', $object_ids, $object_type); 1179 1182 } 1180 1183 … … 1209 1212 1210 1213 wp_cache_delete('get_terms', 'terms'); 1214 1215 do_action('clean_term_cache', $ids, $taxonomy); 1211 1216 } 1212 1217
