with roll back + cache refresh it’s ok with previous version.
Yeah they messed up in the file /controllers/class-gnpub-feed.php
In line 158 they reset the content of the post in the new featured image settings like this:
$content = “<figure><img src=\”{$featured_image_url}\” class=\”type:primaryImage\””;
so the content is now gone…
To fix it just replace from row 158 to 171 with this:
if ($featured_image_url) {
$contentImage = "<figure><img src=\"{$featured_image_url}\" class=\"type:primaryImage\"";
if ($alt) {
$contentImage .= " alt=\"{$alt}\"";
}
$contentImage .= " />";
if ($caption) {
$contentImage .= "<figcaption>{$caption}</figcaption>";
}
if ($description) {
$contentImage .= "<div class=\"image-description\">{$description}</div>";
}
$contentImage .= "</figure>";
$content = $contentImage . $content;
}
Thank You.
Incomprehensible that it was published as is…
Hope they’ll release an update soon, we have lots of sites using this plugin but now it’s completely broken!
Hi,
Thank you for reaching out to us, and apologize for the inconvenience.
We are currently working on this issue and will provide you with an update shortly. We kindly request your patience in the meantime.
Here is the GitHub ticket.
Hi @3r3ct0r & @lucamago ,
We have just released the new update, version 1.5.120. Kindly update the plugin to the latest version, clear the cache, and give it a try.
Now with my code fix it works thanks!
Can I be cited in the release note? 🙂
Glad to hear that your issue has been resolved. This thread is now being closed, but if you need any assistance, please feel free to reach out.
Regarding your request to be mentioned in the release notes, I will pass it along to the team for consideration and ensure it is included in the upcoming update. We truly appreciate community contributions that help improve the plugin. 😇