diff options
author | donncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36> | 2008-05-22 15:54:50 +0000 |
---|---|---|
committer | donncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36> | 2008-05-22 15:54:50 +0000 |
commit | 0bc6b8cbf0df81e3841b88f1ab6726612daec75e (patch) | |
tree | c4935ed3c3c1ca5d011f462177a808dddb3a38c8 /wp-includes/post.php | |
parent | c14a2c5f964802681b8884718401357c3b304906 (diff) | |
download | wordpress-mu-0bc6b8cbf0df81e3841b88f1ab6726612daec75e.tar.gz wordpress-mu-0bc6b8cbf0df81e3841b88f1ab6726612daec75e.tar.xz wordpress-mu-0bc6b8cbf0df81e3841b88f1ab6726612daec75e.zip |
Cast as array to avoid feed.php errors to avoid http://trac.wordpress.org/ticket/7014
git-svn-id: http://svn.automattic.com/wordpress-mu/trunk@1305 7be80a69-a1ef-0310-a953-fb0f7c49ff36
Diffstat (limited to 'wp-includes/post.php')
-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 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'); } /** |