Changeset 10608
- Timestamp:
- 02/20/2009 08:40:05 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/import/wp-cat2tag.php
r10606 r10608 326 326 if ( ! empty($clean_term_cache) ) { 327 327 $clean_term_cache = array_unique(array_values($clean_term_cache)); 328 foreach ( $clean_term_cache as $id ) 329 wp_cache_delete($id, 'post_tag'); 328 clean_term_cache($clean_term_cache, 'post_tag'); 330 329 } 331 330 332 331 if ( ! empty($clean_cat_cache) ) { 333 332 $clean_cat_cache = array_unique(array_values($clean_cat_cache)); 334 foreach ( $clean_cat_cache as $id ) 335 wp_cache_delete($id, 'category'); 333 clean_term_cache($clean_cat_cache, 'category'); 336 334 } 337 335 … … 415 413 if ( ! empty($clean_term_cache) ) { 416 414 $clean_term_cache = array_unique(array_values($clean_term_cache)); 417 foreach ( $clean_term_cache as $id ) 418 wp_cache_delete($id, 'post_tag'); 415 clean_term_cache($clean_term_cache, 'post_tag'); 419 416 } 420 417 421 418 if ( ! empty($clean_cat_cache) ) { 422 419 $clean_cat_cache = array_unique(array_values($clean_cat_cache)); 423 foreach ( $clean_cat_cache as $id ) 424 wp_cache_delete($id, 'category'); 420 clean_term_cache($clean_term_cache, 'category'); 425 421 } 426 422
Note: See TracChangeset
for help on using the changeset viewer.