diff --git a/packages/block-library/src/post-template/index.php b/packages/block-library/src/post-template/index.php index 8a4b33ef7e8a0..9126355c096a5 100644 --- a/packages/block-library/src/post-template/index.php +++ b/packages/block-library/src/post-template/index.php @@ -64,11 +64,6 @@ function render_block_core_post_template( $attributes, $content, $block ) { if ( in_the_loop() ) { $query = clone $wp_query; $query->rewind_posts(); - - // If in a single post of any post type, default to the 'post' post type. - if ( is_singular() ) { - $query->set( 'post_type', 'post' ); - } } else { $query = $wp_query; }