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 @@ -1405,10 +1405,10 @@ private function run_job( $job, $max ) {
1405
1405
}
1406
1406
1407
1407
// Get default thumbnail ID.
1408
- $ default_thumbnail = ! empty ( $ this ->free_settings ['general ' ]['default-thumbnail-id ' ] ) ? (int ) $ this ->free_settings ['general ' ]['default-thumbnail-id ' ] : 0 ;
1408
+ $ global_fallback_thumbnail = ! empty ( $ this ->free_settings ['general ' ]['default-thumbnail-id ' ] ) ? (int ) $ this ->free_settings ['general ' ]['default-thumbnail-id ' ] : 0 ;
1409
1409
if ( feedzy_is_pro () ) {
1410
1410
$ default_thumbnail = get_post_meta ( $ job ->ID , 'default_thumbnail_id ' , true );
1411
- $ default_thumbnail = ! empty ( $ default_thumbnail ) ? explode ( ', ' , (string ) $ default_thumbnail ) : array () ;
1411
+ $ default_thumbnail = ! empty ( $ default_thumbnail ) ? explode ( ', ' , (string ) $ default_thumbnail ) : $ global_fallback_thumbnail ;
1412
1412
}
1413
1413
1414
1414
// 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