Skip to content

Commit 6ef3cac

Browse files
committed
Editor: Update npm packages for the 6.4 branch.
Updates the editor npm packages to the latest patch versions. git-svn-id: https://develop.svn.wordpress.org/branches/6.4@57951 602fd350-edb4-49c9-b593-d223f7449a82
1 parent 812ad8d commit 6ef3cac

File tree

3 files changed

+61
-61
lines changed

3 files changed

+61
-61
lines changed

package-lock.json

Lines changed: 52 additions & 52 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -85,26 +85,26 @@
8585
"@wordpress/api-fetch": "6.39.13",
8686
"@wordpress/autop": "3.42.13",
8787
"@wordpress/blob": "3.42.13",
88-
"@wordpress/block-directory": "4.19.16",
88+
"@wordpress/block-directory": "4.19.17",
8989
"@wordpress/block-editor": "12.10.14",
90-
"@wordpress/block-library": "8.19.16",
90+
"@wordpress/block-library": "8.19.17",
9191
"@wordpress/block-serialization-default-parser": "4.42.13",
9292
"@wordpress/blocks": "12.19.13",
9393
"@wordpress/commands": "0.13.14",
9494
"@wordpress/components": "25.8.14",
9595
"@wordpress/compose": "6.19.13",
9696
"@wordpress/core-commands": "0.11.14",
9797
"@wordpress/core-data": "6.19.14",
98-
"@wordpress/customize-widgets": "4.19.16",
98+
"@wordpress/customize-widgets": "4.19.17",
9999
"@wordpress/data": "9.12.13",
100100
"@wordpress/data-controls": "3.11.13",
101101
"@wordpress/date": "4.42.13",
102102
"@wordpress/deprecated": "3.42.13",
103103
"@wordpress/dom": "3.42.13",
104104
"@wordpress/dom-ready": "3.42.13",
105-
"@wordpress/edit-post": "7.19.16",
106-
"@wordpress/edit-site": "5.19.16",
107-
"@wordpress/edit-widgets": "5.19.16",
105+
"@wordpress/edit-post": "7.19.17",
106+
"@wordpress/edit-site": "5.19.17",
107+
"@wordpress/edit-widgets": "5.19.17",
108108
"@wordpress/editor": "13.19.14",
109109
"@wordpress/element": "5.19.13",
110110
"@wordpress/escape-html": "2.42.13",
@@ -198,4 +198,4 @@
198198
"sync-gutenberg-packages": "grunt sync-gutenberg-packages",
199199
"postsync-gutenberg-packages": "grunt wp-packages:sync-stable-blocks && grunt build --dev && grunt build"
200200
}
201-
}
201+
}

src/wp-includes/blocks/avatar.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ function render_block_core_avatar( $attributes, $content, $block ) {
4949
$label = '';
5050
if ( '_blank' === $attributes['linkTarget'] ) {
5151
// 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 ) ) . '"';
5353
}
5454
// translators: %1$s: Author archive link. %2$s: Link target. %3$s Aria label. %4$s Avatar image.
5555
$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 ) {
7676
$label = '';
7777
if ( '_blank' === $attributes['linkTarget'] ) {
7878
// 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 ) ) . '"';
8080
}
8181
// translators: %1$s: Comment Author website link. %2$s: Link target. %3$s Aria label. %4$s Avatar image.
8282
$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 );

0 commit comments

Comments
 (0)