WordPress.org

Make WordPress Core

Changeset 16437


Ignore:
Timestamp:
11/17/10 18:25:42 (5 years ago)
Author:
ryan
Message:

Use wp_cache_add() instead of wp_cache_set() in update_meta_cache(). fixes #15452

File:
1 edited

Legend:

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

    r16410 r16437  
    347347 
    348348    foreach ( array_keys($cache) as $object) 
    349         wp_cache_set($object, $cache[$object], $cache_key); 
     349        wp_cache_add($object, $cache[$object], $cache_key); 
    350350 
    351351    return $cache; 
Note: See TracChangeset for help on using the changeset viewer.