The following code from Divi Toolbox’s JavaScript removes occurrences of by
and ,
without discernment in some blocks of HTML, randomly breaking the metadata of ShortPixel Adaptive Images.
if (toolbox_values.dtb_post_meta == 1) {
$(".post-meta, .archive #left-area .et_pb_post, .et_pb_title_meta_container").html(function () {
return $(this).html().replace(/|/g, '').replace('by', '').replace('...', '').replace(/,/g, '');
});
}
In order to solve this, please disable the setting “Custom Post Meta” on Divi Toolbox’s settings. Your images will reappear.