[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 15:29:20 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):

 [attachment:28634.6.diff] Protects both 'icc' and 'iptc' profiles and adds
 a filter, named `image_protected_profiles` to modify the list of profile
 type that can be protected when `strip_meta()` is run. This also saves the
 result of the `getImageProfiles()` as a static variable to avoid calling
 it several times during a `multi_resize()` run.  The Imagick functionality
 is also moved back into a try-catch bock like it was after r36700.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/28634#comment:46>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list