← All changes
|
build/scripts/block-library/comment-author-name.php
+1
-1
23.6.2
→
22.7.0
View file →
| @@ -39,9 +39,9 @@ | ||
| 39 | 39 | $comment_author = get_comment_author( $comment ); |
| 40 | 40 | $link = get_comment_author_url( $comment ); |
| 41 | 41 | |
| 42 | 42 | if ( ! empty( $link ) && ! empty( $attributes['isLink'] ) && ! empty( $attributes['linkTarget'] ) ) { |
| 43 | - $comment_author = sprintf( '<a rel="external nofollow ugc" href="%1$s" target="%2$s" >%3$s</a>', esc_url( $link ), esc_attr( $attributes['linkTarget'] ), $comment_author ); | |
| 43 | + $comment_author = sprintf( '<a rel="external nofollow ugc" href="%1s" target="%2s" >%3s</a>', esc_url( $link ), esc_attr( $attributes['linkTarget'] ), $comment_author ); | |
| 44 | 44 | } |
| 45 | 45 | if ( '0' === $comment->comment_approved && ! $show_pending_links ) { |
| 46 | 46 | $comment_author = wp_kses( $comment_author, array() ); |
| 47 | 47 | } |