Typo fix
git-svn-id: https://develop.svn.wordpress.org/trunk@6317 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
6d61400949
commit
051c264788
@ -17,7 +17,7 @@ function wp_upload_display( $dims = false, $href = '' ) {
|
||||
list($width,$height) = wp_shrink_dimensions($attachment_data['width'], $attachment_data['height'], 171, 128);
|
||||
// check for extended metadata from exif/iptc
|
||||
if ( !isset($attachment_data['image_meta']) && $is_image ) {
|
||||
$image_meta = wp_read_image_meta( $filesystem_path );
|
||||
$image_meta = wp_read_image_metadata( $filesystem_path );
|
||||
$attachment_data['image_meta'] = $image_meta;
|
||||
wp_update_attachment_metadata( $id, $attachment_data );
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user