Coding Standards: Use strict comparison in _fix_attachment_links().

Follow-up to [20308], [58360].

See #62279.

git-svn-id: https://develop.svn.wordpress.org/trunk@59962 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Sergey Biryukov 2025-03-10 20:01:47 +00:00
parent 3ec136bfa5
commit a834d96507

View File

@ -1177,7 +1177,7 @@ function _fix_attachment_links( $post ) {
$url_id = (int) $url_match[2];
$rel_id = (int) $rel_match[1];
if ( ! $url_id || ! $rel_id || $url_id != $rel_id || ! str_contains( $url_match[0], $site_url ) ) {
if ( ! $url_id || ! $rel_id || $url_id !== $rel_id || ! str_contains( $url_match[0], $site_url ) ) {
continue;
}