mirror of
https://github.com/WordPress/WordPress.git
synced 2025-02-22 23:41:38 +01:00
Typo fix
git-svn-id: http://svn.automattic.com/wordpress/trunk@6317 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
07806ed56a
commit
f1a6553227
@ -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