From 158b8c81e9897b744657ac62dd1495236a5e11db Mon Sep 17 00:00:00 2001 From: Ryan Boren 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: https://develop.svn.wordpress.org/trunk@10072 602fd350-edb4-49c9-b593-d223f7449a82 --- 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,