diff -r 7b1b88e27a20 -r 48c4eec2b7e6 wp/wp-includes/class-wp-simplepie-file.php --- a/wp/wp-includes/class-wp-simplepie-file.php Thu Sep 29 08:06:27 2022 +0200 +++ b/wp/wp-includes/class-wp-simplepie-file.php Fri Sep 05 18:40:08 2025 +0200 @@ -14,12 +14,18 @@ * to hook into the process. * * @since 2.8.0 - * - * @see SimplePie_File */ +#[AllowDynamicProperties] class WP_SimplePie_File extends SimplePie_File { /** + * Timeout. + * + * @var int How long the connection should stay open in seconds. + */ + public $timeout = 10; + + /** * Constructor. * * @since 2.8.0 @@ -56,7 +62,7 @@ $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; }