From 02089fb5f2466682f9f0d029f92ff757b4b41b50 Mon Sep 17 00:00:00 2001 From: ryan Date: Fri, 6 Jan 2006 01:30:13 +0000 Subject: [PATCH] Fix get_post_meta() array return. fixes #2183 git-svn-id: http://svn.automattic.com/wordpress/trunk@3410 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-includes/functions.php b/wp-includes/functions.php index 10523d60d5..a310a302b3 100644 --- a/wp-includes/functions.php +++ b/wp-includes/functions.php @@ -472,7 +472,7 @@ function get_post_meta($post_id, $key, $single = false) { if ( $single ) { return maybe_unserialize( $post_meta_cache[$post_id][$key][0] ); } else { - return maybe_unserialize( $post_meta_cache[$post_id][$key][0] ); + return maybe_unserialize( $post_meta_cache[$post_id][$key] ); } }