WordPress.org

Plugin Directory

Changeset 670835


Ignore:
Timestamp:
02/20/13 17:40:29 (14 months ago)
Author:
joedolson
Message:

Bug fix: exif functions

Location:
content-progress/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • content-progress/trunk/content-progress.php

    r665751 r670835  
    44Plugin URI: http://www.joedolson.com/articles/content-progress/ 
    55Description: Adds a column to each post/page or custom post type indicating whether content has been added to the page. 
    6 Version: 1.3.1 
     6Version: 1.3.2 
    77Author: Joseph Dolson 
    88Author URI: http://www.joedolson.com/ 
     
    2626// Prepend the new column to the columns array 
    2727global $cp_version; 
    28 $cp_version = '1.3.1'; 
     28$cp_version = '1.3.2'; 
    2929load_plugin_textdomain( 'content-progress', false, dirname( plugin_basename( __FILE__ ) . '/lang' ) ); 
    3030cp_check_version(); 
     
    3838        return; 
    3939    } 
     40} 
     41 
     42if (!function_exists('exif_imagetype') ) { 
     43    function exif_imagetype ( $filename ) { 
     44        if ( !is_dir( $filename ) && ( list($width, $height, $type, $attr) = getimagesize( $filename ) ) !== false ) { 
     45            return $type; 
     46        } 
     47    return false; 
     48    } 
    4049} 
    4150 
  • content-progress/trunk/readme.txt

    r665751 r670835  
    3434 
    3535== Changelog == 
     36 
     37= 1.3.2 = 
     38 
     39* Bug fix: Added fallback function for exif_imagetype when exif not installed. (Related to: custom status icons) 
    3640 
    3741= 1.3.1 = 
Note: See TracChangeset for help on using the changeset viewer.