mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 14:20:15 +00:00
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:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user