From d113821dbb1b4fa751cde7e1fd0b75297a026ef5 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Fri, 7 Jul 2023 06:40:11 +0000 Subject: [PATCH] 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 --- src/wp-includes/class-wp-simplepie-file.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wp-includes/class-wp-simplepie-file.php b/src/wp-includes/class-wp-simplepie-file.php index a0125aaf1d..6d68b6ca40 100644 --- a/src/wp-includes/class-wp-simplepie-file.php +++ b/src/wp-includes/class-wp-simplepie-file.php @@ -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; }