Don't trim whitespace from sections of the response in IXR_Client. Fixes #12559 props apeatling.

git-svn-id: http://svn.automattic.com/wordpress/trunk@14677 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
westi 2010-05-15 21:04:26 +00:00
parent c0e3fe47bc
commit 1664674948
1 changed files with 2 additions and 1 deletions

View File

@ -581,7 +581,8 @@ class IXR_Client {
$gettingHeaders = false;
}
if (!$gettingHeaders) {
$contents .= trim($line);
// WP#12559 remove trim so as to not strip newlines from received response.
$contents .= $line;
}
if ($this->debug) {
$debug_contents .= $line;