mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 14:20:15 +00:00
user_agent, not user-agent, for Streams transport. Props alexrabe. fixes #8500
git-svn-id: https://develop.svn.wordpress.org/trunk@10072 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user