wp/wp-includes/class-wp-http-curl.php
changeset 18 be944660c56a
parent 16 a86126ab1dd4
child 19 3d72ae0968f4
--- 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;
 		}