Cache category hierarchy to make cat listing faster. Phase 1. see #3985

git-svn-id: https://develop.svn.wordpress.org/trunk@5178 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren
2007-04-04 20:44:45 +00:00
parent 8a155e75f5
commit 93cdc6deac
3 changed files with 29 additions and 3 deletions
+1
View File
@@ -749,6 +749,7 @@ function clean_category_cache($id) {
wp_cache_delete($id, 'category');
wp_cache_delete('all_category_ids', 'category');
wp_cache_delete('get_categories', 'category');
delete_option('category_children');
}
/*