diff --git a/src/wp-content/themes/twentyeleven/comments.php b/src/wp-content/themes/twentyeleven/comments.php
index 102899645d..0787c43b22 100644
--- a/src/wp-content/themes/twentyeleven/comments.php
+++ b/src/wp-content/themes/twentyeleven/comments.php
@@ -31,7 +31,7 @@
diff --git a/src/wp-content/themes/twentynineteen/comments.php b/src/wp-content/themes/twentynineteen/comments.php
index 9ef3fd6acc..5e734d417e 100644
--- a/src/wp-content/themes/twentynineteen/comments.php
+++ b/src/wp-content/themes/twentynineteen/comments.php
@@ -35,7 +35,7 @@ $discussion = twentynineteen_get_discussion_data();
_e( 'Leave a comment', 'twentynineteen' );
}
} else {
- if ( '1' == $discussion->responses ) {
+ if ( '1' === (string) $discussion->responses ) {
/* translators: %s: Post title. */
printf( _x( 'One reply on “%s”', 'comments title', 'twentynineteen' ), get_the_title() );
} else {
diff --git a/src/wp-content/themes/twentyten/comments.php b/src/wp-content/themes/twentyten/comments.php
index 31425239d0..64bf700b8d 100644
--- a/src/wp-content/themes/twentyten/comments.php
+++ b/src/wp-content/themes/twentyten/comments.php
@@ -34,7 +34,7 @@
diff --git a/src/wp-content/themes/twentytwelve/image.php b/src/wp-content/themes/twentytwelve/image.php
index 8958092c87..ffdde2c00d 100644
--- a/src/wp-content/themes/twentytwelve/image.php
+++ b/src/wp-content/themes/twentytwelve/image.php
@@ -70,7 +70,7 @@ get_header(); ?>
)
);
foreach ( $attachments as $k => $attachment ) :
- if ( $attachment->ID == $post->ID ) {
+ if ( $attachment->ID === $post->ID ) {
break;
}
endforeach;
diff --git a/src/wp-content/themes/twentytwelve/inc/custom-header.php b/src/wp-content/themes/twentytwelve/inc/custom-header.php
index 693883ca7a..84b3556c24 100644
--- a/src/wp-content/themes/twentytwelve/inc/custom-header.php
+++ b/src/wp-content/themes/twentytwelve/inc/custom-header.php
@@ -71,7 +71,7 @@ function twentytwelve_header_style() {
$text_color = get_header_textcolor();
// If no custom options for text are set, let's bail.
- if ( get_theme_support( 'custom-header', 'default-text-color' ) == $text_color ) {
+ if ( get_theme_support( 'custom-header', 'default-text-color' ) === $text_color ) {
return;
}
diff --git a/src/wp-content/themes/twentytwenty/comments.php b/src/wp-content/themes/twentytwenty/comments.php
index 2bee32644d..91a3198eed 100644
--- a/src/wp-content/themes/twentytwenty/comments.php
+++ b/src/wp-content/themes/twentytwenty/comments.php
@@ -23,7 +23,7 @@ if ( $comments ) {