diff --git a/packages/block-library/src/media-text/index.php b/packages/block-library/src/media-text/index.php index dfa7873799e0b..078c432f5c8a0 100644 --- a/packages/block-library/src/media-text/index.php +++ b/packages/block-library/src/media-text/index.php @@ -24,7 +24,7 @@ function render_block_core_media_text( $attributes, $content ) { update_post_thumbnail_cache(); } - $current_featured_image = get_the_post_thumbnail_url( null, $attributes['mediaSizeSlug'] ?? null); + $current_featured_image = get_the_post_thumbnail_url( null, $attributes['mediaSizeSlug'] ?? null ); if ( ! $current_featured_image ) { return $content; }