Make WordPress Core


Ignore:
Timestamp:
04/09/2024 12:26:50 PM (3 years ago)
Author:
johnbillion
Message:

Editor: Update npm packages for the 6.1 branch.

Updates the editor npm packages to the latest patch versions.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/6.1/src/wp-includes/blocks/avatar.php

    r54632 r57953  
    9898                        if ( '_blank' === $attributes['linkTarget'] ) {
    9999                                // 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 ) ) . '"';
    101101                        }
    102102                        // translators: %1$s: Author archive link. %2$s: Link target. %3$s Aria label. %4$s Avatar image.
    … …  
    125125                if ( '_blank' === $attributes['linkTarget'] ) {
    126126                        // 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 ) ) . '"';
    128128                }
    129129                // 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.