Skip to content

Commit eb38563

Browse files
Merge pull request #1053 from Codeinwp/bugfix/1052
Fixed global fallback image issue
2 parents 698bede + 09d555a commit eb38563

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

includes/admin/feedzy-rss-feeds-import.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1471,6 +1471,8 @@ private function run_job( $job, $max ) {
14711471
if ( feedzy_is_pro() ) {
14721472
$default_thumbnail = get_post_meta( $job->ID, 'default_thumbnail_id', true );
14731473
$default_thumbnail = ! empty( $default_thumbnail ) ? explode( ',', (string) $default_thumbnail ) : $global_fallback_thumbnail;
1474+
} else {
1475+
$default_thumbnail = $global_fallback_thumbnail;
14741476
}
14751477

14761478
// Note: this implementation will only work if only one of the fields is allowed to provide

0 commit comments

Comments
 (0)