mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-22 17:18:32 +01:00
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:
parent
11aa9b4da5
commit
356e6cac57
@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -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.
|
||||||
|
Loading…
Reference in New Issue
Block a user