File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1312,10 +1312,10 @@ private function run_job( $job, $max ) {
1312
1312
}
1313
1313
1314
1314
// Get default thumbnail ID.
1315
- $ default_thumbnail = ! empty ( $ this ->free_settings ['general ' ]['default-thumbnail-id ' ] ) ? (int ) $ this ->free_settings ['general ' ]['default-thumbnail-id ' ] : 0 ;
1315
+ $ global_fallback_thumbnail = ! empty ( $ this ->free_settings ['general ' ]['default-thumbnail-id ' ] ) ? (int ) $ this ->free_settings ['general ' ]['default-thumbnail-id ' ] : 0 ;
1316
1316
if ( feedzy_is_pro () ) {
1317
1317
$ default_thumbnail = get_post_meta ( $ job ->ID , 'default_thumbnail_id ' , true );
1318
- $ default_thumbnail = ! empty ( $ default_thumbnail ) ? explode ( ', ' , (string ) $ default_thumbnail ) : array () ;
1318
+ $ default_thumbnail = ! empty ( $ default_thumbnail ) ? explode ( ', ' , (string ) $ default_thumbnail ) : $ global_fallback_thumbnail ;
1319
1319
}
1320
1320
1321
1321
// Note: this implementation will only work if only one of the fields is allowed to provide
You can’t perform that action at this time.
0 commit comments