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

Follow-up to [10687].

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

git-svn-id: https://develop.svn.wordpress.org/trunk@56158 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Sergey Biryukov 2023-07-07 06:40:11 +00:00
parent a7de2a8e26
commit d113821dbb

View File

@ -64,7 +64,7 @@ class WP_SimplePie_File extends SimplePie_File {
$args['headers'] = $this->headers;
}
if ( SIMPLEPIE_USERAGENT != $this->useragent ) { // Use default WP user agent unless custom has been specified.
if ( SIMPLEPIE_USERAGENT !== $this->useragent ) { // Use default WP user agent unless custom has been specified.
$args['user-agent'] = $this->useragent;
}