From c4ba2f4bfef4e2c929a74434e09f28b6d6444391 Mon Sep 17 00:00:00 2001 From: Ryan Boren Date: Fri, 6 Jan 2006 01:30:13 +0000 Subject: [PATCH] Fix get_post_meta() array return. fixes #2183 git-svn-id: https://develop.svn.wordpress.org/trunk@3410 602fd350-edb4-49c9-b593-d223f7449a82 --- 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] ); } }