Skip to content

Commit

Permalink
Fix liniting errors
Browse files Browse the repository at this point in the history
  • Loading branch information
akasunil committed Dec 2, 2024
1 parent 875912c commit d32454f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/block-library/src/media-text/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit d32454f

Please sign in to comment.