user_agent, not user-agent, for Streams transport. Props alexrabe. fixes #8500
git-svn-id: http://svn.automattic.com/wordpress/trunk@10072 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
d2394de2d7
commit
332477a986
|
@ -760,7 +760,7 @@ class WP_Http_Streams {
|
|||
$arrContext = array('http' =>
|
||||
array(
|
||||
'method' => strtoupper($r['method']),
|
||||
'user-agent' => $r['user-agent'],
|
||||
'user_agent' => $r['user-agent'],
|
||||
'max_redirects' => $r['redirection'],
|
||||
'protocol_version' => (float) $r['httpversion'],
|
||||
'header' => $strHeaders,
|
||||
|
|
Loading…
Reference in New Issue