File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -561,9 +561,14 @@ public function feedzy_import_feed_options() {
561561
562562 $ default_thumbnail_id = 0 ;
563563 $ inherited_thumbnail_id = ! empty ( $ this ->free_settings ['general ' ]['default-thumbnail-id ' ] ) ? (int ) $ this ->free_settings ['general ' ]['default-thumbnail-id ' ] : 0 ;
564+ $ custom_thumbnail_id = get_post_meta ( $ post ->ID , 'default_thumbnail_id ' , true );
565+
566+ if ( is_numeric ( $ custom_thumbnail_id ) ) {
567+ $ default_thumbnail_id = $ custom_thumbnail_id ;
568+ }
569+
564570 if ( feedzy_is_pro () ) {
565- $ default_thumbnail_id = get_post_meta ( $ post ->ID , 'default_thumbnail_id ' , true );
566- $ import_schedule = array (
571+ $ import_schedule = array (
567572 'fz_cron_schedule ' => ! empty ( $ this ->free_settings ['general ' ]['fz_cron_schedule ' ] ) ? $ this ->free_settings ['general ' ]['fz_cron_schedule ' ] : '' ,
568573 );
569574 }
You can’t perform that action at this time.
0 commit comments