Changeset 4631 for trunk/wp-admin/admin-db.php
- Timestamp:
- 12/08/2006 07:35:45 AM (20 years ago)
- File:
-
- 1 edited
-
trunk/wp-admin/admin-db.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/admin-db.php
r4534 r4631 134 134 } 135 135 136 wp_cache_delete($cat_ID, 'category'); 137 wp_cache_delete('get_categories', 'category'); 136 clean_category_cache($cat_ID); 138 137 139 138 if ($update) { 140 139 do_action('edit_category', $cat_ID); 141 140 } else { 142 wp_cache_delete('all_category_ids', 'category');143 141 do_action('create_category', $cat_ID); 144 142 do_action('add_category', $cat_ID); … … 214 212 } 215 213 216 wp_cache_delete($cat_ID, 'category'); 217 wp_cache_delete('all_category_ids', 'category'); 218 wp_cache_delete('get_categories', 'category'); 214 clean_category_cache($cat_ID); 219 215 220 216 do_action('delete_category', $cat_ID); … … 488 484 } 489 485 490 do_action('edit_link', $link_ID);491 486 } // wp_set_link_cats() 492 487
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)