Skip to content

Commit

Permalink
Remove phpcs ignore since we explicitely call esc_html.
Browse files Browse the repository at this point in the history
  • Loading branch information
StevenDufresne committed Nov 19, 2024
1 parent ef58769 commit 976c26e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mu-plugins/blocks/ratings-stars/render.php
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
printf(
// translators: %s is the current rating value.
esc_html__( '%s out of 5 stars.', 'wporg' ),
'<span>' . esc_html( $display_rating_str ) . '</span>' // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
'<span>' . esc_html( $display_rating_str ) . '</span>'
);
?>
</div>
Expand Down

0 comments on commit 976c26e

Please sign in to comment.