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:
parent
c0e3fe47bc
commit
1664674948
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue