mirror of
git://develop.git.wordpress.org/
synced 2025-05-03 10:28:01 +02:00
Editor: Update npm packages for the 6.2 branch.
Updates the editor npm packages to the latest patch versions. git-svn-id: https://develop.svn.wordpress.org/branches/6.2@57952 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
043b6cb566
commit
665dad997f
7389
package-lock.json
generated
7389
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
12
package.json
12
package.json
@ -82,24 +82,24 @@
|
||||
"@wordpress/api-fetch": "6.23.2",
|
||||
"@wordpress/autop": "3.26.2",
|
||||
"@wordpress/blob": "3.26.2",
|
||||
"@wordpress/block-directory": "4.3.14",
|
||||
"@wordpress/block-directory": "4.3.15",
|
||||
"@wordpress/block-editor": "11.3.11",
|
||||
"@wordpress/block-library": "8.3.14",
|
||||
"@wordpress/block-library": "8.3.15",
|
||||
"@wordpress/block-serialization-default-parser": "4.26.2",
|
||||
"@wordpress/blocks": "12.3.4",
|
||||
"@wordpress/components": "23.3.8",
|
||||
"@wordpress/compose": "6.3.4",
|
||||
"@wordpress/core-data": "6.3.4",
|
||||
"@wordpress/customize-widgets": "4.3.14",
|
||||
"@wordpress/customize-widgets": "4.3.15",
|
||||
"@wordpress/data": "8.3.4",
|
||||
"@wordpress/data-controls": "2.26.4",
|
||||
"@wordpress/date": "4.26.3",
|
||||
"@wordpress/deprecated": "3.26.2",
|
||||
"@wordpress/dom": "3.26.2",
|
||||
"@wordpress/dom-ready": "3.26.2",
|
||||
"@wordpress/edit-post": "7.3.14",
|
||||
"@wordpress/edit-site": "5.3.14",
|
||||
"@wordpress/edit-widgets": "5.3.14",
|
||||
"@wordpress/edit-post": "7.3.15",
|
||||
"@wordpress/edit-site": "5.3.15",
|
||||
"@wordpress/edit-widgets": "5.3.15",
|
||||
"@wordpress/editor": "13.3.11",
|
||||
"@wordpress/element": "5.3.3",
|
||||
"@wordpress/escape-html": "2.26.2",
|
||||
|
File diff suppressed because one or more lines are too long
@ -97,7 +97,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 );
|
||||
@ -124,7 +124,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 );
|
||||
|
Loading…
x
Reference in New Issue
Block a user