I've lately learned that a website using XML-RPC to show a listing of latest wordpress posts has eliminate. Upon digging in to the XML-RPC respsone, I observe that the final tag is cut down:
I'd a fast Google, and observed that another person were built with a similar problem, however the ticket was closed because it wasn't considered a Wordpress problem: http://core.trac.wordpress.org/ticket/6701
So, why my XML is all of a sudden being sent using the BOM? I checked the
class-IXR.php file and find out everything looks normal:
$xml = '<?xml version="1.0"?>'."\n".$xml; $length = strlen($xml); header('Connection: close'); header('Content-Length: '.$length); header('Content-Type: text/xml;charset=utf-8'); header('Date: '.date('r')); echo $xml; exit;
I guess I possibly could hack the file to improve the
content-length as a fast fix, but wondering why it has all of a sudden began happening.