PluginProbe
Gutenberg / 22.7.0
Gutenberg v22.7.0
24.0.0 23.9.1 23.9.0 23.8.0 23.7.2 23.7.1 23.7.0 23.6.1 23.6.2 23.6.0 23.5.3 23.5.2 23.5.1 23.5.0 23.4.0 23.3.2 23.3.1 23.3.0 23.2.0 23.2.1 23.2.2 23.1.1 23.1.0 23.0.1 12.6.0 All 403 releases
← All changes | build/scripts/block-library/avatar.php +2 -2 23.6.2 → 22.7.0 View file →
@@ -66,9 +66,9 @@
66 66 }
67 67 // translators: 1: Author archive link. 2: Link target. %3$s Aria label. %4$s Avatar image.
68 68 $avatar_block = sprintf( '<a href="%1$s" target="%2$s" %3$s class="wp-block-avatar__link">%4$s</a>', esc_url( get_author_posts_url( $author_id ) ), esc_attr( $attributes['linkTarget'] ), $label, $avatar_block );
69 69 }
70 - return sprintf( '<div %1$s>%2$s</div>', $wrapper_attributes, $avatar_block );
70 + return sprintf( '<div %1s>%2s</div>', $wrapper_attributes, $avatar_block );
71 71 }
72 72 $comment = get_comment( $block->context['commentId'] );
73 73 if ( ! $comment ) {
74 74 return '';
@@ -92,9 +92,9 @@
92 92 $label = 'aria-label="' . esc_attr( sprintf( __( '(%s website link, opens in a new tab)' ), $comment->comment_author ) ) . '"';
93 93 }
94 94 $avatar_block = sprintf( '<a href="%1$s" target="%2$s" %3$s class="wp-block-avatar__link">%4$s</a>', esc_url( $comment->comment_author_url ), esc_attr( $attributes['linkTarget'] ), $label, $avatar_block );
95 95 }
96 - return sprintf( '<div %1$s>%2$s</div>', $wrapper_attributes, $avatar_block );
96 + return sprintf( '<div %1s>%2s</div>', $wrapper_attributes, $avatar_block );
97 97 }
98 98
99 99 /**
100 100 * Generates class names and styles to apply the border support styles for