mirror of
git://develop.git.wordpress.org/
synced 2025-01-17 21:08:44 +01:00
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:
parent
a7de2a8e26
commit
d113821dbb
@ -64,7 +64,7 @@ class WP_SimplePie_File extends SimplePie_File {
|
|||||||
$args['headers'] = $this->headers;
|
$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;
|
$args['user-agent'] = $this->useragent;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user