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

git-svn-id: https://develop.svn.wordpress.org/trunk@14677 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Peter Westwood 2010-05-15 21:04:26 +00:00
parent 01b1ae4e39
commit 6979d55fbe
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;