Ticket #41880: 41880.patch
| File 41880.patch, 880 bytes (added by , 9 years ago) |
|---|
-
class-http.php
363 363 } 364 364 } 365 365 366 // Avoid issues where mbstring.func_overload is enabled 366 // Avoid issues where mbstring.func_overload is enabled. 367 367 mbstring_binary_safe_encoding(); 368 368 369 369 try { 370 370 $requests_response = Requests::request( $url, $headers, $data, $type, $options ); 371 371 372 // Convert the response into an array 372 // Convert the response into an array. 373 373 $http_response = new WP_HTTP_Requests_Response( $requests_response, $r['filename'] ); 374 374 $response = $http_response->to_array(); 375 375 … … 473 473 * Validate redirected URLs. 474 474 * 475 475 * @since 4.7.5 476 * @static 476 477 * 477 478 * @throws Requests_Exception On unsuccessful URL validation 478 479 * @param string $location URL to redirect to.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)