Fix get_post_meta() array return. fixes #2183

git-svn-id: https://develop.svn.wordpress.org/trunk@3410 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren 2006-01-06 01:30:13 +00:00
parent 016361ea34
commit c4ba2f4bfe
1 changed files with 1 additions and 1 deletions

View File

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