After [34374], ensure that $iptc is defined.

See #33772.


git-svn-id: https://develop.svn.wordpress.org/trunk@34378 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Scott Taylor 2015-09-22 04:48:25 +00:00
parent fc1980e369
commit 40b5ade751

View File

@ -280,6 +280,7 @@ function wp_read_image_metadata( $file ) {
'keywords' => array(),
);
$iptc = array();
/*
* Read IPTC first, since it might contain data not available in exif such
* as caption, description etc.