diff options
-rw-r--r-- | wp-includes/post.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/wp-includes/post.php b/wp-includes/post.php index 5c9409a..c054b8d 100644 --- a/wp-includes/post.php +++ b/wp-includes/post.php @@ -634,7 +634,7 @@ function get_post_custom($post_id = 0) { if ( ! wp_cache_get($post_id, 'post_meta') ) update_postmeta_cache($post_id); - return wp_cache_get($post_id, 'post_meta'); + return (array)wp_cache_get($post_id, 'post_meta'); } /** |