Skip to content

Commit

Permalink
Fix: use correct php standards
Browse files Browse the repository at this point in the history
  • Loading branch information
sarthaknagoshe2002 committed Dec 19, 2024
1 parent 9083a54 commit b8fa212
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions packages/block-library/src/query-total/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -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(
'<p>%s</p>',
$total_text,

$total_text
);
break;
}
Expand Down

0 comments on commit b8fa212

Please sign in to comment.