Coding Standards: Use strict comparison in wp-admin/includes/class-wp-importer.php.

Follow-up to [14760], [50658].

Props aristath, poena, afercia, SergeyBiryukov.
See #58831.
Built from https://develop.svn.wordpress.org/trunk@56396


git-svn-id: http://core.svn.wordpress.org/trunk@55908 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Sergey Biryukov 2023-08-14 09:59:20 +00:00
parent 11aa9b4da5
commit 356e6cac57
2 changed files with 2 additions and 2 deletions

View File

@ -105,7 +105,7 @@ class WP_Importer {
$source_comment_id = (int) $source_comment_id; $source_comment_id = (int) $source_comment_id;
// Check if this comment came from this blog. // Check if this comment came from this blog.
if ( $blog_id == $comment_agent_blog_id ) { if ( (int) $blog_id === (int) $comment_agent_blog_id ) {
$hashtable[ $source_comment_id ] = (int) $r->comment_ID; $hashtable[ $source_comment_id ] = (int) $r->comment_ID;
} }
} }

View File

@ -16,7 +16,7 @@
* *
* @global string $wp_version * @global string $wp_version
*/ */
$wp_version = '6.4-alpha-56395'; $wp_version = '6.4-alpha-56396';
/** /**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema. * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.