Changeset 8257
- Timestamp:
- 07/04/2008 04:15:29 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/media.php
r8239 r8257 74 74 elseif ( $size == 'thumbnail' ) { 75 75 // fall back to the old thumbnail 76 if ( $thumb_file = wp_get_attachment_thumb_file() && $info = getimagesize($thumb_file) ) {76 if ( ($thumb_file = wp_get_attachment_thumb_file($id)) && $info = getimagesize($thumb_file) ) { 77 77 $img_url = str_replace(basename($img_url), basename($thumb_file), $img_url); 78 78 $width = $info[0];
Note: See TracChangeset
for help on using the changeset viewer.