Ticket #37820: patch_37820.diff
File patch_37820.diff, 662 bytes (added by , 8 years ago) |
---|
-
wp-includes/Requests/Transport/cURL.php
373 373 curl_setopt($this->handle, CURLOPT_CONNECTTIMEOUT_MS, round($options['connect_timeout'] * 1000)); 374 374 } 375 375 curl_setopt($this->handle, CURLOPT_URL, $url); 376 curl_setopt($this->handle, CURLOPT_REFERER, $url);376 curl_setopt($this->handle, CURLOPT_REFERER, site_url()); 377 377 curl_setopt($this->handle, CURLOPT_USERAGENT, $options['useragent']); 378 378 curl_setopt($this->handle, CURLOPT_HTTPHEADER, $headers); 379 379