Editor: Update npm packages for the 6.3 branch.

Updates the editor npm packages to the latest patch versions.


git-svn-id: https://develop.svn.wordpress.org/branches/6.3@57955 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
John Blackbourn 2024-04-09 12:49:59 +00:00
parent 0b77419b35
commit 7f1d3c6866
4 changed files with 4180 additions and 3314 deletions

7476
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -83,9 +83,9 @@
"@wordpress/api-fetch": "6.32.2",
"@wordpress/autop": "3.35.2",
"@wordpress/blob": "3.35.2",
"@wordpress/block-directory": "4.12.18",
"@wordpress/block-directory": "4.12.19",
"@wordpress/block-editor": "12.3.15",
"@wordpress/block-library": "8.12.18",
"@wordpress/block-library": "8.12.19",
"@wordpress/block-serialization-default-parser": "4.35.2",
"@wordpress/blocks": "12.12.8",
"@wordpress/commands": "0.6.13",
@ -93,16 +93,16 @@
"@wordpress/compose": "6.12.3",
"@wordpress/core-commands": "0.4.16",
"@wordpress/core-data": "6.12.16",
"@wordpress/customize-widgets": "4.12.18",
"@wordpress/customize-widgets": "4.12.19",
"@wordpress/data": "9.5.6",
"@wordpress/data-controls": "3.4.6",
"@wordpress/date": "4.35.2",
"@wordpress/deprecated": "3.35.2",
"@wordpress/dom": "3.35.2",
"@wordpress/dom-ready": "3.35.2",
"@wordpress/edit-post": "7.12.18",
"@wordpress/edit-site": "5.12.18",
"@wordpress/edit-widgets": "5.12.18",
"@wordpress/edit-post": "7.12.19",
"@wordpress/edit-site": "5.12.19",
"@wordpress/edit-widgets": "5.12.19",
"@wordpress/editor": "13.12.16",
"@wordpress/element": "5.12.2",
"@wordpress/escape-html": "2.35.2",

File diff suppressed because one or more lines are too long

View File

@ -49,7 +49,7 @@ function render_block_core_avatar( $attributes, $content, $block ) {
$label = '';
if ( '_blank' === $attributes['linkTarget'] ) {
// translators: %s is the Author name.
$label = 'aria-label="' . sprintf( esc_attr__( '(%s author archive, opens in a new tab)' ), $author_name ) . '"';
$label = 'aria-label="' . esc_attr( sprintf( __( '(%s author archive, opens in a new tab)' ), $author_name ) ) . '"';
}
// translators: %1$s: Author archive link. %2$s: Link target. %3$s Aria label. %4$s Avatar image.
$avatar_block = sprintf( '<a href="%1$s" target="%2$s" %3$s class="wp-block-avatar__link">%4$s</a>', esc_url( get_author_posts_url( $author_id ) ), esc_attr( $attributes['linkTarget'] ), $label, $avatar_block );
@ -76,7 +76,7 @@ function render_block_core_avatar( $attributes, $content, $block ) {
$label = '';
if ( '_blank' === $attributes['linkTarget'] ) {
// translators: %s is the Comment Author name.
$label = 'aria-label="' . sprintf( esc_attr__( '(%s website link, opens in a new tab)' ), $comment->comment_author ) . '"';
$label = 'aria-label="' . esc_attr( sprintf( __( '(%s website link, opens in a new tab)' ), $comment->comment_author ) ) . '"';
}
// translators: %1$s: Comment Author website link. %2$s: Link target. %3$s Aria label. %4$s Avatar image.
$avatar_block = sprintf( '<a href="%1$s" target="%2$s" %3$s class="wp-block-avatar__link">%4$s</a>', esc_url( $comment->comment_author_url ), esc_attr( $attributes['linkTarget'] ), $label, $avatar_block );