From b2c0bfe1b8d863b39ed4f6abdf9c06bdfe9c941d Mon Sep 17 00:00:00 2001 From: George Mamadashvili Date: Thu, 19 May 2022 12:18:22 +0400 Subject: [PATCH] Use a single string concatenation method --- packages/block-library/src/post-author-name/index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/block-library/src/post-author-name/index.php b/packages/block-library/src/post-author-name/index.php index cfad82a68efcf2..08496d3e963bff 100644 --- a/packages/block-library/src/post-author-name/index.php +++ b/packages/block-library/src/post-author-name/index.php @@ -32,7 +32,7 @@ function render_block_core_post_author_name( $attributes, $content, $block ) { $wrapper_attributes = get_block_wrapper_attributes( array( 'class' => $align_class_name ) ); - return sprintf( '
', $wrapper_attributes ) . $author_name . '
'; + return sprintf( '
%2$s
', $wrapper_attributes, $author_name ); } /**