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] ); } }