Make WordPress Core


Ignore:
Timestamp:
11/03/2007 06:33:19 PM (16 years ago)
Author:
westi
Message:

Refactor of wp-admin/includes/image.php. Fixes #5312, #4151, #4709, #5304 props DD32.

File:
1 edited

Legend:

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

    r6070 r6309  
    148148}
    149149
     150// Added in PHP 4.3.0?
     151if (!defined('IMAGETYPE_GIF'))
     152    define('IMAGETYPE_GIF', 1);
     153
     154if (!defined('IMAGETYPE_JPEG'))
     155    define('IMAGETYPE_JPEG', 2);
     156
     157if (!defined('IMAGETYPE_PNG'))
     158    define('IMAGETYPE_PNG', 3);
     159
     160
    150161?>
Note: See TracChangeset for help on using the changeset viewer.