Coding Standards: Replace echo sprintf() with printf().

See #49542.

git-svn-id: https://develop.svn.wordpress.org/trunk@48111 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Sergey Biryukov
2020-06-20 13:16:45 +00:00
parent 738144bd05
commit 8909a914c7
11 changed files with 15 additions and 15 deletions
+1 -1
View File
@@ -391,7 +391,7 @@ if ( $tab ) {
<a class="num-ratings" href="{{ data.reviews_url }}">
<?php
/* translators: %s: Number of ratings. */
echo sprintf( __( '(%s ratings)' ), '{{ data.num_ratings }}' );
printf( __( '(%s ratings)' ), '{{ data.num_ratings }}' );
?>
</a>
</div>