Make WordPress Core


Ignore:
Timestamp:
08/14/2023 09:57:54 AM (6 months ago)
Author:
SergeyBiryukov
Message:

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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/class-wp-importer.php

    r55916 r56396  
    106106
    107107                    // Check if this comment came from this blog.
    108                     if ( $blog_id == $comment_agent_blog_id ) {
     108                    if ( (int) $blog_id === (int) $comment_agent_blog_id ) {
    109109                        $hashtable[ $source_comment_id ] = (int) $r->comment_ID;
    110110                    }
Note: See TracChangeset for help on using the changeset viewer.