[wp-trac] [WordPress Trac] #28634: Upload images. does not clear Thumbnails metadata (+30kb from camera for each thumbnails)
WordPress Trac
noreply at wordpress.org
Sun Mar 6 23:42:15 UTC 2016
#28634: Upload images. does not clear Thumbnails metadata (+30kb from camera for
each thumbnails)
--------------------------+------------------------
Reporter: alexufo | Owner: joemcgill
Type: defect (bug) | Status: accepted
Priority: normal | Milestone: 4.5
Component: Media | Version: 3.5
Severity: normal | Resolution:
Keywords: has-patch | Focuses:
--------------------------+------------------------
Comment (by joemcgill):
I ran a few tests and it looks like at least iOS and OS X are reading the
orientation from the Exif profile and not the properties, so I don't think
we can strip Exif profiles until after we've handled orientation. In the
mean time, [attachment:28634.7.diff] protects icc, iptc, and exif metadata
unless overridden by a filter. This would allow people who don't care
about any of the metadata to strip everything by doing something like:
{{{
add_filter( 'image_protected_profiles', function() {
return array();
} );
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/28634#comment:52>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list