WordPress.org

Make WordPress Core

Changeset 14677


Ignore:
Timestamp:
05/15/10 21:04:26 (4 years ago)
Author:
westi
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/class-IXR.php

    r13958 r14677  
    582582            } 
    583583            if (!$gettingHeaders) { 
    584                 $contents .= trim($line); 
     584                // WP#12559 remove trim so as to not strip newlines from received response. 
     585                $contents .= $line; 
    585586            } 
    586587            if ($this->debug) { 
Note: See TracChangeset for help on using the changeset viewer.