diff -r 34716fd837a4 -r be944660c56a wp/wp-includes/class-wp-http-curl.php --- a/wp/wp-includes/class-wp-http-curl.php Tue Dec 15 15:52:01 2020 +0100 +++ b/wp/wp-includes/class-wp-http-curl.php Wed Sep 21 18:19:35 2022 +0200 @@ -173,7 +173,7 @@ curl_setopt( $handle, CURLOPT_HEADER, false ); if ( isset( $parsed_args['limit_response_size'] ) ) { - $this->max_body_length = intval( $parsed_args['limit_response_size'] ); + $this->max_body_length = (int) $parsed_args['limit_response_size']; } else { $this->max_body_length = false; }