mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-07 09:49:04 +00: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. git-svn-id: https://develop.svn.wordpress.org/trunk@56396 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user