Now with less bugs. fixes #3411

git-svn-id: https://develop.svn.wordpress.org/trunk@4671 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren
2007-01-02 19:51:36 +00:00
parent 368695f87d
commit 29d5c032ce
2 changed files with 4 additions and 4 deletions

View File

@@ -349,8 +349,6 @@ function get_attachment_icon_src( $id = 0, $fullsize = false ) {
$file = get_attached_file( $post->ID );
$exts = array('jpg', 'gif', 'png');
if ( !$fullsize && $thumbfile = wp_get_attachment_thumb_file( $post->ID ) ) {
// We have a thumbnail desired, specified and existing