I figured out a solution so I’m leaving the question up as it might be helpful to someone else.
if ( 'auto-draft' == $post->post_status ) :
$selected = false;
else :
$selected = $post->post_author;
endif;
I figured out a solution so I’m leaving the question up as it might be helpful to someone else.
if ( 'auto-draft' == $post->post_status ) :
$selected = false;
else :
$selected = $post->post_author;
endif;