Support » Plugin: Smush - Optimize, Compress and Lazy Load Images » Remove metadata from exported files

  • Resolved Mark

    (@brasiltemas)


    Hi, I smush my website images, but when I try to generate a export XML file they come with a metadata like this in XML file:

    <wp:postmeta>
    <wp:meta_key>wp-smpro-smush-data</wp:meta_key>
    <wp:meta_value><![CDATA[a:2:{s:5:”stats”;a:7:{s:7:”percent”;d:9.3296207111281593;s:5:”bytes”;i:39403;s:11:”size_before”;i:422343;s:10:”size_after”;i:382940;s:4:”time”;d:1.8500000000000001;s:11:”api_version”;s:3:”1.0″;s:5:”lossy”;b:0;}s:5:”sizes”;a:7:{s:20:”featured-image-thumb”;O:8:”stdClass”:5:{s:7:”percent”;i:0;s:5:”bytes”;i:0;s:11:”size_before”;i:65443;s:10:”size_after”;i:65443;s:4:”time”;d:0.29999999999999999;}s:27:”featured-image-thumb-medium”;O:8:”stdClass”:5:{s:7:”percent”;i:0;s:5:”bytes”;i:0;s:11:”size_before”;i:36731;s:10:”size_after”;i:36731;s:4:”time”;d:0.14000000000000001;}s:26:”featured-image-thumb-small”;O:8:”stdClass”:5:{s:7:”percent”;i:0;s:5:”bytes”;i:0;s:11:”size_before”;i:4560;s:10:”size_after”;i:4560;s:4:”time”;d:0.01;}s:14:”shop_thumbnail”;O:8:”stdClass”:5:{s:7:”percent”;i:0;s:5:”bytes”;i:0;s:11:”size_before”;i:23839;s:10:”size_after”;i:23839;s:4:”time”;d:0.080000000000000002;}s:12:”shop_catalog”;O:8:”stdClass”:5:{s:7:”percent”;d:0.40999999999999998;s:5:”bytes”;i:244;s:11:”size_before”;i:60050;s:10:”size_after”;i:59806;s:4:”time”;d:0.14000000000000001;}s:11:”shop_single”;O:8:”stdClass”:5:{s:7:”percent”;d:17.420000000000002;s:5:”bytes”;i:39159;s:11:”size_before”;i:224821;s:10:”size_after”;i:185662;s:4:”time”;d:0.55000000000000004;}s:4:”full”;O:8:”stdClass”:5:{s:7:”percent”;i:0;s:5:”bytes”;i:0;s:11:”size_before”;i:6899;s:10:”size_after”;i:6899;s:4:”time”;d:0.63;}}}]]></wp:meta_value>
    </wp:postmeta>

    How do I remove it??

    I tried disable the plugin but it not work.

    https://wordpress.org/plugins/wp-smushit/

Viewing 1 replies (of 1 total)
  • Plugin Author Aaron Edwards

    (@uglyrobot)

    That meta data is where compression stats are stored for each attachment. There is no harm in it being there. If it really bugs you that much and you are sure you’ll never use smush again you can remove it from your db:
    DELETE FROM wp_postmeta WHERE meta_key = 'wp-smpro-smush-data';

Viewing 1 replies (of 1 total)
  • The topic ‘Remove metadata from exported files’ is closed to new replies.