Changeset 54483 for trunk/src/wp-includes/blocks/comment-author-name.php
- Timestamp:
- 10/11/2022 03:24:12 PM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/blocks/comment-author-name.php
r53329 r54483 35 35 $link = get_comment_author_url( $comment ); 36 36 37 if ( ! empty( $ attributes['isLink'] ) && ! empty( $attributes['linkTarget'] ) ) {37 if ( ! empty( $link ) && ! empty( $attributes['isLink'] ) && ! empty( $attributes['linkTarget'] ) ) { 38 38 $comment_author = sprintf( '<a rel="external nofollow ugc" href="%1s" target="%2s" >%3s</a>', esc_url( $link ), esc_attr( $attributes['linkTarget'] ), $comment_author ); 39 39 }
Note: See TracChangeset
for help on using the changeset viewer.