WordPress.org

Make WordPress Core

Changeset 3341


Ignore:
Timestamp:
12/22/05 20:32:12 (8 years ago)
Author:
ryan
Message:

Update cache when editing categories. fixes #2127

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/admin-db.php

    r3330 r3341  
    118118    } 
    119119 
    120     wp_cache_set($cat_ID, get_category($cat_ID), 'category'); 
     120    wp_cache_delete($cat_ID, 'category'); 
    121121 
    122122    if ($update) { 
Note: See TracChangeset for help on using the changeset viewer.