Changeset 1658127
- Timestamp:
- 05/16/2017 12:15:01 AM (9 years ago)
- File:
-
- 1 edited
-
drawit/trunk/drawit.php (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
drawit/trunk/drawit.php
r1555753 r1658127 2 2 /** 3 3 * @package DrawIt (draw.io) 4 * @version 1.1. 24 * @version 1.1.3 5 5 */ 6 6 /* … … 8 8 Plugin URI: http://www.assortedchips.com/#drawit 9 9 Description: Draw and edit flow charts, diagrams, images and more while editing a post. 10 Version: 1.1. 210 Version: 1.1.3 11 11 Author: assorted[chips] 12 12 Author URI: http://www.assortedchips.com/ … … 87 87 $this->valid_units = $valid_units; 88 88 $this->valid_temp_dirs = $valid_temp_dirs; 89 $this->plugin_version = "1.1. 2";89 $this->plugin_version = "1.1.3"; 90 90 91 91 // Options saved to database are used throughout the functions here, so … … 399 399 if($metadata !== false) { 400 400 $image_meta = $metadata['image_meta']; 401 $save_type = strtolower(end(explode('.', wp_get_attachment_url($img_id)))); 401 $save_name = explode('.', wp_get_attachment_url($img_id)); 402 $save_type = strtolower(end($save_name)); 402 403 403 404 if($image_meta['title'] != "") {
Note: See TracChangeset
for help on using the changeset viewer.