Changeset 631347
- Timestamp:
- 11/28/2012 03:59:57 PM (13 years ago)
- Location:
- image-metadata-cruncher
- Files:
-
- 4 edited
- 1 copied
-
tags/1.2 (copied) (copied from image-metadata-cruncher/trunk)
-
tags/1.2/README.txt (modified) (2 diffs)
-
tags/1.2/image-metadata-cruncher.php (modified) (3 diffs)
-
trunk/README.txt (modified) (2 diffs)
-
trunk/image-metadata-cruncher.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
image-metadata-cruncher/tags/1.2/README.txt
r627803 r631347 5 5 Requires at least: 2.7 6 6 Tested up to: 3.4 7 Stable tag: 1. 17 Stable tag: 1.2 8 8 License: GPLv2 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 38 38 == Changelog == 39 39 40 = 1.2 = 41 * Fixed a bug when the plugin extracted only the first item of an IPTC metadata of type array like IPTC:Keywords and IPTC:SupplementalCategories 42 40 43 = 1.1 = 41 44 * Fixed several bugs -
image-metadata-cruncher/tags/1.2/image-metadata-cruncher.php
r627891 r631347 3 3 Plugin Name: Image Metadata Cruncher 4 4 Description: Gives you ultimate controll over which image metadata (EXIF or IPTC) WordPress extracts from an uploaded image and where and in what form it then goes. You can even specify unlimited custom post meta tags as the target of the extracted image metadata. 5 Version: 1. 15 Version: 1.2 6 6 Author: Peter Hudec 7 7 Author URI: http://peterhudec.com … … 151 151 // symplify array structure 152 152 foreach ( $iptc as &$i ) { 153 $i = $i[0]; 153 // if the array has only one item 154 if ( count( $i ) <= 1 ) { 155 $i = $i[0]; 156 } 154 157 } 155 158 … … 367 370 } else { 368 371 // try to find anything that is provided (handles IPTC too) 369 $value = $this->get_metadata( $metadata, $category, $pieces[1] ); 372 $key = $path[0]; 373 $value = $this->get_metadata( $metadata, $category, $key ); 370 374 } 371 375 -
image-metadata-cruncher/trunk/README.txt
r627803 r631347 5 5 Requires at least: 2.7 6 6 Tested up to: 3.4 7 Stable tag: 1. 17 Stable tag: 1.2 8 8 License: GPLv2 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 38 38 == Changelog == 39 39 40 = 1.2 = 41 * Fixed a bug when the plugin extracted only the first item of an IPTC metadata of type array like IPTC:Keywords and IPTC:SupplementalCategories 42 40 43 = 1.1 = 41 44 * Fixed several bugs -
image-metadata-cruncher/trunk/image-metadata-cruncher.php
r627891 r631347 3 3 Plugin Name: Image Metadata Cruncher 4 4 Description: Gives you ultimate controll over which image metadata (EXIF or IPTC) WordPress extracts from an uploaded image and where and in what form it then goes. You can even specify unlimited custom post meta tags as the target of the extracted image metadata. 5 Version: 1. 15 Version: 1.2 6 6 Author: Peter Hudec 7 7 Author URI: http://peterhudec.com … … 151 151 // symplify array structure 152 152 foreach ( $iptc as &$i ) { 153 $i = $i[0]; 153 // if the array has only one item 154 if ( count( $i ) <= 1 ) { 155 $i = $i[0]; 156 } 154 157 } 155 158 … … 367 370 } else { 368 371 // try to find anything that is provided (handles IPTC too) 369 $value = $this->get_metadata( $metadata, $category, $pieces[1] ); 372 $key = $path[0]; 373 $value = $this->get_metadata( $metadata, $category, $key ); 370 374 } 371 375
Note: See TracChangeset
for help on using the changeset viewer.