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

git-svn-id: https://develop.svn.wordpress.org/trunk@16437 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren 2010-11-17 18:25:42 +00:00
parent eb981f0b6c
commit f721e075e6
1 changed files with 1 additions and 1 deletions

View File

@ -346,7 +346,7 @@ function update_meta_cache($meta_type, $object_ids) {
}
foreach ( array_keys($cache) as $object)
wp_cache_set($object, $cache[$object], $cache_key);
wp_cache_add($object, $cache[$object], $cache_key);
return $cache;
}