Coding Standards: Use strict comparison where count() is involved.

Follow-up to [1636], [6974], [8114], [10322], [13326], [14760], [18006], [18541], [19743], [23249], [24115], [33359].

Props aristath, poena, afercia, SergeyBiryukov.
See #57839.

git-svn-id: https://develop.svn.wordpress.org/trunk@55642 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Sergey Biryukov
2023-04-10 12:54:28 +00:00
parent ba2f30e4dc
commit 81598dd34f
13 changed files with 18 additions and 18 deletions
+2 -2
View File
@@ -41,7 +41,7 @@ class WP_Importer {
$hashtable[ $r->meta_value ] = (int) $r->post_id;
}
}
} while ( count( $results ) == $limit );
} while ( count( $results ) === $limit );
return $hashtable;
}
@@ -110,7 +110,7 @@ class WP_Importer {
}
}
}
} while ( count( $results ) == $limit );
} while ( count( $results ) === $limit );
return $hashtable;
}