WordPress.org

Make WordPress Core

Changeset 14305


Ignore:
Timestamp:
04/29/10 18:32:01 (4 years ago)
Author:
ryan
Message:

clean_user_cache() instead of direct cache delete.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/meta.php

    r14302 r14305  
    190190    // users cache stores usermeta that must be cleared. 
    191191    if ( 'user' == $meta_type ) 
    192         wp_cache_delete($object_id, 'users'); 
     192        clean_user_cache($object_id); 
    193193 
    194194    do_action( "deleted_{$meta_type}_meta", $meta_ids, $object_id, $meta_key, $meta_value ); 
Note: See TracChangeset for help on using the changeset viewer.