diff --git a/wp-includes/blocks/cover.php b/wp-includes/blocks/cover.php index fc1aed7b96..9e14791ba8 100644 --- a/wp-includes/blocks/cover.php +++ b/wp-includes/blocks/cover.php @@ -32,12 +32,15 @@ function render_block_core_cover( $attributes, $content ) { $image = get_the_post_thumbnail( null, 'post-thumbnail', $attr ); - $content = str_replace( - '' . $image . '