| @@ -31,9 +31,9 @@ | ||
| 31 | 31 | } |
| 32 | 32 | |
| 33 | 33 | $author_name = get_the_author_meta( 'display_name', $author_id ); |
| 34 | 34 | if ( isset( $attributes['isLink'] ) && $attributes['isLink'] ) { |
| 35 | - $author_name = sprintf( '<a href="%1$s" target="%2$s" class="wp-block-post-author-name__link">%3$s</a>', esc_url( get_author_posts_url( $author_id ) ), esc_attr( $attributes['linkTarget'] ), $author_name ); | |
| 35 | + $author_name = sprintf( '<a href="%1$s" target="%2$s" class="wp-block-post-author-name__link">%3$s</a>', get_author_posts_url( $author_id ), esc_attr( $attributes['linkTarget'] ), $author_name ); | |
| 36 | 36 | } |
| 37 | 37 | |
| 38 | 38 | $classes = array(); |
| 39 | 39 | if ( isset( $attributes['textAlign'] ) ) { |