summaryrefslogtreecommitdiffstats
path: root/wp-includes/post.php
diff options
context:
space:
mode:
Diffstat (limited to 'wp-includes/post.php')
-rw-r--r--wp-includes/post.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/wp-includes/post.php b/wp-includes/post.php
index cca4149..8219da6 100644
--- a/wp-includes/post.php
+++ b/wp-includes/post.php
@@ -694,7 +694,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');
}
/**