From 332477a986be48d278fff38bf267f92c8ca0573b Mon Sep 17 00:00:00 2001 From: ryan Date: Fri, 5 Dec 2008 20:12:51 +0000 Subject: [PATCH] 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 --- wp-includes/http.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-includes/http.php b/wp-includes/http.php index eb61cc9c8c..3744cb3ffd 100644 --- a/wp-includes/http.php +++ b/wp-includes/http.php @@ -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,