From 01a32c0af0b4222a15feb291b6bf949d1c8058e8 Mon Sep 17 00:00:00 2001 From: ryan Date: Wed, 17 Nov 2010 18:25:42 +0000 Subject: [PATCH] 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 --- wp-includes/meta.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-includes/meta.php b/wp-includes/meta.php index 078fd382d..efc0a22a2 100644 --- a/wp-includes/meta.php +++ b/wp-includes/meta.php @@ -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; }