Custom “Featured Image” Tag Not Working As Expected #942
Labels
Priority-Medium
Expected resolution time - up to 1 month.
small
(1-3h) This label is used for issues that can be completed within 3 hours or less.
Issue Title: Custom “Featured Image” Tag Not Working Properly
Description: When using the custom tag for “Featured image” during post imports, the specified custom value is not utilized. Instead, the placeholder [#item_image] is always used as the featured image. This unexpected behavior does not allow using custom paths for featured images.
Steps to Reproduce:
Configure the feedzy-rss-feeds plugin to import posts.
Add a custom tag for “Featured image” in the feed settings.
Import a post with a custom image URL based on the specified custom tag.
Observe that the custom value is not used, and [#item_image] is used for the featured image.
Expected Behavior: The plugin should correctly utilize the custom value provided for the “Featured image” tag during post imports.
Potential code issue:
feedzy-rss-feeds/includes/admin/feedzy-rss-feeds-import.php
Line 1762 in eced321
When changing the above line to
$default_img_tag = ! empty( $import_featured_img ) ? $import_featured_img : '';
The correct custom image path is used instead of [#item_image]
Additional Information:
Plugin versions:
Feedzy RSS Feeds Lite version: 4.4.8
Feedzy RSS Feeds Premium version: 2.4.5
WordPress version: 6.5.3
The text was updated successfully, but these errors were encountered: