diff --git a/src/wp-admin/includes/post.php b/src/wp-admin/includes/post.php
index ea583a9847..1f8d945f2a 100644
|
a
|
b
|
function use_block_editor_for_post( $post ) { |
| 1896 | 1896 | return false; |
| 1897 | 1897 | } |
| 1898 | 1898 | |
| | 1899 | $use_block_editor = use_block_editor_for_post_type( $post->post_type ); |
| | 1900 | |
| 1899 | 1901 | // The posts page can't be edited in the block editor. |
| 1900 | 1902 | if ( absint( get_option( 'page_for_posts' ) ) === $post->ID && empty( $post->post_content ) ) { |
| 1901 | | return false; |
| | 1903 | $use_block_editor = false; |
| 1902 | 1904 | } |
| 1903 | 1905 | |
| 1904 | | $use_block_editor = use_block_editor_for_post_type( $post->post_type ); |
| 1905 | | |
| 1906 | 1906 | /** |
| 1907 | 1907 | * Filter whether a post is able to be edited in the block editor. |
| 1908 | 1908 | * |