Make WordPress Core


Ignore:
Timestamp:
07/07/2023 06:40:11 AM (19 months ago)
Author:
SergeyBiryukov
Message:

Coding Standards: Use strict comparison in wp-includes/class-wp-simplepie-file.php.

Follow-up to [10687].

Props aristath, poena, afercia, SergeyBiryukov.
See #57839.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/class-wp-simplepie-file.php

    r54133 r56158  
    6565            }
    6666
    67             if ( SIMPLEPIE_USERAGENT != $this->useragent ) { // Use default WP user agent unless custom has been specified.
     67            if ( SIMPLEPIE_USERAGENT !== $this->useragent ) { // Use default WP user agent unless custom has been specified.
    6868                $args['user-agent'] = $this->useragent;
    6969            }
Note: See TracChangeset for help on using the changeset viewer.