diff --git a/src/wp-admin/includes/post.php b/src/wp-admin/includes/post.php
index ea583a9847..1f8d945f2a 100644
--- a/src/wp-admin/includes/post.php
+++ b/src/wp-admin/includes/post.php
@@ -1896,13 +1896,13 @@ function use_block_editor_for_post( $post ) {
 		return false;
 	}
 
+	$use_block_editor = use_block_editor_for_post_type( $post->post_type );
+
 	// The posts page can't be edited in the block editor.
 	if ( absint( get_option( 'page_for_posts' ) ) === $post->ID && empty( $post->post_content ) ) {
-		return false;
+		$use_block_editor = false;
 	}
 
-	$use_block_editor = use_block_editor_for_post_type( $post->post_type );
-
 	/**
 	 * Filter whether a post is able to be edited in the block editor.
 	 *
