From 356e6cac57bb68f065493a224aad5f10c4e0f520 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Mon, 14 Aug 2023 09:59:20 +0000 Subject: [PATCH] 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 --- wp-admin/includes/class-wp-importer.php | 2 +- wp-includes/version.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/wp-admin/includes/class-wp-importer.php b/wp-admin/includes/class-wp-importer.php index 3a2154cff3..eca3199a7b 100644 --- a/wp-admin/includes/class-wp-importer.php +++ b/wp-admin/includes/class-wp-importer.php @@ -105,7 +105,7 @@ class WP_Importer { $source_comment_id = (int) $source_comment_id; // 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; } } diff --git a/wp-includes/version.php b/wp-includes/version.php index edb84c6356..fff835f19d 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @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.