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

git-svn-id: http://svn.automattic.com/wordpress/trunk@16437 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryan 2010-11-17 18:25:42 +00:00
parent c8b4e1cf5d
commit 01a32c0af0
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) foreach ( array_keys($cache) as $object)
wp_cache_set($object, $cache[$object], $cache_key); wp_cache_add($object, $cache[$object], $cache_key);
return $cache; return $cache;
} }