﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	severity	resolution	keywords	cc
5304	Cannot upload images that are not Gif/jpeg/png	DD32	anonymous	"An error is raised when uploading non gif/jpeg/png files if PHP reconises the image type.

An example of this is a BMP file.

wp_create_thumbnail Assumes that the filetype is of the given types, and fails otherwise.

I've attached a patch which aborts creating the thumbnail if its not a supported type, But a better patch would be to change the function to use the IMAGETYPE_XXX constants(Instead of 1,2,3) and to support the full range of image formats."	defect (bug)	closed	normal	2.5	Administration	2.5	normal	fixed	has-patch developer-feedback	
