Ticket #43624: 43624.patch
File 43624.patch, 936 bytes (added by , 7 years ago) |
---|
-
src/wp-admin/includes/image.php
437 437 } 438 438 } 439 439 440 $exif = array(); 441 440 442 /** 441 443 * Filters the image types to check for exif data. 442 444 * … … 522 524 * 523 525 * @since 2.5.0 524 526 * @since 4.4.0 The `$iptc` parameter was added. 527 * @since 5.0.0 The `$exif` parameter was added. 525 528 * 526 529 * @param array $meta Image meta data. 527 530 * @param string $file Path to image file. 528 531 * @param int $sourceImageType Type of image. 529 532 * @param array $iptc IPTC data. 533 * @param array $exif EXIF data. 530 534 */ 531 return apply_filters( 'wp_read_image_metadata', $meta, $file, $sourceImageType, $iptc );535 return apply_filters( 'wp_read_image_metadata', $meta, $file, $sourceImageType, $iptc, $exif ); 532 536 533 537 } 534 538