diff --git a/inc/components/components/coral/component.php b/inc/components/components/coral/component.php index 51d10109..09fa56b7 100644 --- a/inc/components/components/coral/component.php +++ b/inc/components/components/coral/component.php @@ -22,7 +22,7 @@ $config, [ 'embed_URL' => untrailingslashit( Integrations\get_option_value( 'coral', 'url' ) ), - 'story_id' => get_the_ID(), + 'story_id' => 'publish' === get_post_status() ? get_the_ID() : null, ] ); },