Coding Standards: Use strict comparison in wp-includes/theme-compat/comments.php.

Follow-up to [31941], [41285], [55420].

Props sarequl.
See #57839.

git-svn-id: https://develop.svn.wordpress.org/trunk@55849 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Sergey Biryukov
2023-05-23 15:23:15 +00:00
parent 00f5110d9f
commit 472c9f242b

View File

@@ -32,7 +32,7 @@ if ( post_password_required() ) { ?>
<?php if ( have_comments() ) : ?>
<h3 id="comments">
<?php
if ( 1 == get_comments_number() ) {
if ( '1' === get_comments_number() ) {
printf(
/* translators: %s: Post title. */
__( 'One response to %s' ),