From b8fa212246c37c3b4c247d52942b3b6f20730a29 Mon Sep 17 00:00:00 2001 From: sarthaknagoshe2002 Date: Fri, 20 Dec 2024 00:07:22 +0530 Subject: [PATCH] Fix: use correct php standards --- packages/block-library/src/query-total/index.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/packages/block-library/src/query-total/index.php b/packages/block-library/src/query-total/index.php index f6569404ef3a99..3d1f523fd2754b 100644 --- a/packages/block-library/src/query-total/index.php +++ b/packages/block-library/src/query-total/index.php @@ -63,10 +63,9 @@ function render_block_core_query_total( $attributes, $content, $block ) { default: // translators: %d: Total number of posts. $total_text = sprintf( _n( '%d result found', '%d results found', $max_rows ), $max_rows ); - $output = sprintf( + $output = sprintf( '

%s

', - $total_text, - + $total_text ); break; }