diff options
author | donncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36> | 2008-07-07 17:16:43 +0000 |
---|---|---|
committer | donncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36> | 2008-07-07 17:16:43 +0000 |
commit | 6081c995737157ea06244568c48570148b08258f (patch) | |
tree | c74a90925305ffff924a8261efd1d92265e3146c /wp-includes/post.php | |
parent | 62cf455ec3bed02f518048f8ddca91a23e6b95a4 (diff) | |
download | wordpress-mu-6081c995737157ea06244568c48570148b08258f.tar.gz wordpress-mu-6081c995737157ea06244568c48570148b08258f.tar.xz wordpress-mu-6081c995737157ea06244568c48570148b08258f.zip |
WP Merge to revision 8266
git-svn-id: http://svn.automattic.com/wordpress-mu/trunk@1355 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 25aa9a1..122eb83 100644 --- a/wp-includes/post.php +++ b/wp-includes/post.php @@ -2424,7 +2424,7 @@ function wp_get_attachment_thumb_file( $post_id = 0 ) { $post_id = (int) $post_id; if ( !$post =& get_post( $post_id ) ) return false; - if ( !$imagedata = wp_get_attachment_metadata( $post->ID ) ) + if ( !is_array( $imagedata = wp_get_attachment_metadata( $post->ID ) ) ) return false; $file = get_attached_file( $post->ID ); |