Changeset 8261
- Timestamp:
- 07/06/2008 04:40:15 PM (17 years ago)
- Location:
- trunk/wp-includes
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/media.php
r8257 r8261 275 275 276 276 function image_get_intermediate_size($post_id, $size='thumbnail') { 277 if ( ! $imagedata = wp_get_attachment_metadata( $post_id) )277 if ( !is_array( $imagedata = wp_get_attachment_metadata( $post_id ) ) ) 278 278 return false; 279 279 -
trunk/wp-includes/post.php
r8203 r8261 2425 2425 if ( !$post =& get_post( $post_id ) ) 2426 2426 return false; 2427 if ( ! $imagedata = wp_get_attachment_metadata( $post->ID) )2427 if ( !is_array( $imagedata = wp_get_attachment_metadata( $post->ID ) ) ) 2428 2428 return false; 2429 2429
Note: See TracChangeset
for help on using the changeset viewer.