mirror of
git://develop.git.wordpress.org/
synced 2025-05-15 08:15:58 +02:00
Editor: Update npm packages for the 6.0 branch.
Updates the editor npm packages to the latest patch versions. git-svn-id: https://develop.svn.wordpress.org/branches/6.0@57954 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
ccab9ddd82
commit
57bc45753f
10745
package-lock.json
generated
10745
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
12
package.json
12
package.json
@ -81,24 +81,24 @@
|
||||
"@wordpress/api-fetch": "6.3.1",
|
||||
"@wordpress/autop": "3.6.1",
|
||||
"@wordpress/blob": "3.6.1",
|
||||
"@wordpress/block-directory": "3.4.16",
|
||||
"@wordpress/block-directory": "3.4.17",
|
||||
"@wordpress/block-editor": "8.5.10",
|
||||
"@wordpress/block-library": "7.3.16",
|
||||
"@wordpress/block-library": "7.3.17",
|
||||
"@wordpress/block-serialization-default-parser": "4.6.1",
|
||||
"@wordpress/blocks": "11.5.3",
|
||||
"@wordpress/components": "19.8.5",
|
||||
"@wordpress/compose": "5.4.1",
|
||||
"@wordpress/core-data": "4.4.5",
|
||||
"@wordpress/customize-widgets": "3.3.16",
|
||||
"@wordpress/customize-widgets": "3.3.17",
|
||||
"@wordpress/data": "6.6.1",
|
||||
"@wordpress/data-controls": "2.6.1",
|
||||
"@wordpress/date": "4.6.1",
|
||||
"@wordpress/deprecated": "3.6.1",
|
||||
"@wordpress/dom": "3.6.1",
|
||||
"@wordpress/dom-ready": "3.6.1",
|
||||
"@wordpress/edit-post": "6.3.16",
|
||||
"@wordpress/edit-site": "4.3.16",
|
||||
"@wordpress/edit-widgets": "4.3.16",
|
||||
"@wordpress/edit-post": "6.3.17",
|
||||
"@wordpress/edit-site": "4.3.17",
|
||||
"@wordpress/edit-widgets": "4.3.17",
|
||||
"@wordpress/editor": "12.5.10",
|
||||
"@wordpress/element": "4.4.1",
|
||||
"@wordpress/escape-html": "2.6.1",
|
||||
|
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>', 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>', $comment->comment_author_url, esc_attr( $attributes['linkTarget'] ), $label, $avatar_block );
|
||||
|
Loading…
x
Reference in New Issue
Block a user