Skip to content

Commit

Permalink
Fix white space issue
Browse files Browse the repository at this point in the history
  • Loading branch information
carolinan committed Aug 16, 2023
1 parent 4181d89 commit efe0241
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 @@ -42,7 +42,7 @@ function render_block_core_media_text( $attributes, $content ) {
if ( isset( $attributes['mediaSizeSlug'] ) ) {
$media_size_slug = $attributes['mediaSizeSlug'];
}
$processor->set_attribute( 'src', esc_url( $current_featured_image ) );
$processor->set_attribute( 'src', esc_url( $current_featured_image ) );
$processor->set_attribute( 'alt', esc_attr( $processor->get_attribute( 'alt' ) ) );
$processor->set_attribute( 'class', 'wp-image-' . get_post_thumbnail_id() . ' size-' . $media_size_slug );

Expand Down

0 comments on commit efe0241

Please sign in to comment.