Ticket #17262: post.2.diff
| File post.2.diff, 726 bytes (added by JoshuaAbenazer, 3 months ago) |
|---|
-
post.php
4350 4350 4351 4351 if ( !empty($imagedata['thumb']) && ($thumbfile = str_replace(basename($file), $imagedata['thumb'], $file)) && file_exists($thumbfile) ) 4352 4352 return apply_filters( 'wp_get_attachment_thumb_file', $thumbfile, $post->ID ); 4353 elseif ( isset($imagedata['sizes']['thumbnail']['file']) && !empty($imagedata['sizes']['thumbnail']['file']) && ($thumbfile = str_replace(basename($file), $imagedata['sizes']['thumbnail']['file'], $file)) && file_exists($thumbfile) ) 4354 return apply_filters( 'wp_get_attachment_thumb_file', $thumbfile, $post->ID ); 4353 4355 return false; 4354 4356 } 4355 4357
