Changeset 57952 for branches/6.2/src/wp-includes/blocks/avatar.php
- Timestamp:
- 04/09/2024 12:18:44 PM (2 years ago)
- File:
-
- 1 edited
-
branches/6.2/src/wp-includes/blocks/avatar.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/6.2/src/wp-includes/blocks/avatar.php
r55246 r57952 98 98 if ( '_blank' === $attributes['linkTarget'] ) { 99 99 // translators: %s is the Author name. 100 $label = 'aria-label="' . sprintf( esc_attr__( '(%s author archive, opens in a new tab)' ), $author_name) . '"';100 $label = 'aria-label="' . esc_attr( sprintf( __( '(%s author archive, opens in a new tab)' ), $author_name ) ) . '"'; 101 101 } 102 102 // translators: %1$s: Author archive link. %2$s: Link target. %3$s Aria label. %4$s Avatar image. … … 125 125 if ( '_blank' === $attributes['linkTarget'] ) { 126 126 // translators: %s is the Comment Author name. 127 $label = 'aria-label="' . sprintf( esc_attr__( '(%s website link, opens in a new tab)' ), $comment->comment_author) . '"';127 $label = 'aria-label="' . esc_attr( sprintf( __( '(%s website link, opens in a new tab)' ), $comment->comment_author ) ) . '"'; 128 128 } 129 129 // 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.