Changeset 57951 for branches/6.4/src/wp-includes/blocks/avatar.php
- Timestamp:
- 04/09/2024 11:08:26 AM (8 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/6.4/src/wp-includes/blocks/avatar.php
r56710 r57951 50 50 if ( '_blank' === $attributes['linkTarget'] ) { 51 51 // translators: %s is the Author name. 52 $label = 'aria-label="' . sprintf( esc_attr__( '(%s author archive, opens in a new tab)' ), $author_name) . '"';52 $label = 'aria-label="' . esc_attr( sprintf( __( '(%s author archive, opens in a new tab)' ), $author_name ) ) . '"'; 53 53 } 54 54 // translators: %1$s: Author archive link. %2$s: Link target. %3$s Aria label. %4$s Avatar image. … … 77 77 if ( '_blank' === $attributes['linkTarget'] ) { 78 78 // translators: %s is the Comment Author name. 79 $label = 'aria-label="' . sprintf( esc_attr__( '(%s website link, opens in a new tab)' ), $comment->comment_author) . '"';79 $label = 'aria-label="' . esc_attr( sprintf( __( '(%s website link, opens in a new tab)' ), $comment->comment_author ) ) . '"'; 80 80 } 81 81 // translators: %1$s: Comment Author website link. %2$s: Link target. %3$s Aria label. %4$s Avatar image.
Note: See TracChangeset
for help on using the changeset viewer.