diff --git a/wp-admin/includes/image.php b/wp-admin/includes/image.php index 7c12dd6ee1..25a49cef5b 100644 --- a/wp-admin/includes/image.php +++ b/wp-admin/includes/image.php @@ -338,10 +338,6 @@ function wp_read_image_metadata( $file ) { if ( is_callable( 'exif_read_data' ) && in_array( $sourceImageType, apply_filters( 'wp_read_image_metadata_types', array( IMAGETYPE_JPEG, IMAGETYPE_TIFF_II, IMAGETYPE_TIFF_MM ) ) ) ) { $exif = @exif_read_data( $file ); - if ( empty( $meta['title'] ) && ! empty( $exif['Title'] ) ) { - $meta['title'] = trim( $exif['Title'] ); - } - if ( ! empty( $exif['ImageDescription'] ) ) { mbstring_binary_safe_encoding(); $description_length = strlen( $exif['ImageDescription'] ); diff --git a/wp-includes/version.php b/wp-includes/version.php index 3228ee8310..98c0f9674d 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.2-alpha-31461'; +$wp_version = '4.2-alpha-31462'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.