diff --git a/src/wp-includes/blocks/post-featured-image.php b/src/wp-includes/blocks/post-featured-image.php
index 8da66accd3..de5ef39ef5 100644
a
|
b
|
function render_block_core_post_featured_image( $attributes, $content, $block ) |
60 | 60 | $height = ! empty( $attributes['height'] ) ? 'style="' . esc_attr( safecss_filter_attr( 'height:' . $attributes['height'] ) ) . '"' : ''; |
61 | 61 | $featured_image = sprintf( |
62 | 62 | '<a href="%1$s" target="%2$s" %3$s %4$s>%5$s%6$s</a>', |
63 | | get_the_permalink( $post_ID ), |
| 63 | esc_url( $attributes['rel'] ), |
64 | 64 | esc_attr( $link_target ), |
65 | 65 | $rel, |
66 | 66 | $height, |