WordPress.org

Make WordPress Core


Ignore:
Timestamp:
12/20/2007 10:18:28 PM (13 years ago)
Author:
westi
Message:

Ensure we don't call exif_read_data() on unsupported file types. Fixes #5397 props DD32

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/compat.php

    r6387 r6438  
    179179    define('IMAGETYPE_PNG', 3);
    180180
     181if (!defined('IMAGETYPE_TIFF_MM'))
     182    define('IMAGETYPE_TIFF_MM',7);
     183
     184if (!defined('IMAGETYPE_TIFF_MM'))
     185    define('IMAGETYPE_TIFF_MM',8);
    181186
    182187?>
Note: See TracChangeset for help on using the changeset viewer.