[wp-trac] [WordPress Trac] #5397: exif_read_data() called for
non-jpeg/tiff image files, resulting in error
WordPress Trac
wp-trac at lists.automattic.com
Wed Nov 28 17:42:35 GMT 2007
#5397: exif_read_data() called for non-jpeg/tiff image files, resulting in error
----------------------------+-----------------------------------------------
Reporter: fitztrev | Owner: anonymous
Type: defect | Status: new
Priority: high | Milestone: 2.4
Component: Administration | Version:
Severity: major | Keywords:
----------------------------+-----------------------------------------------
[http://www.php.net/exif_read_data exif_read_data()], added in #5162, only
accepts JPEG and TIFF files but is being called for GIF and PNG as well.
When uploading a GIF file (ex: the Google logo) via the Write Post upload
form, I'm getting the following error message:
Warning: exif_read_data(logo.gif) [function.exif-read-data]: File not
supported in /var/www/trunk/wp-admin/includes/image.php on line 291
--
Ticket URL: <http://trac.wordpress.org/ticket/5397>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list