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:
parent
016361ea34
commit
c4ba2f4bfe
@ -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] );
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user