问题回顾:
使用 Windows Live Writer 写WordPress博客的时候,在打开最近使用过的日志时出现错误:服务器响应无效。从日志服务器接受的对meta Weblog.getRecentPosts方法的响应无效:invalid response document returned from XmlRoc server。尝试更新日志主题,重新配置Live writer均无效,检查同服务器的其他博客,Live writer均正常使用,说明不是Live writer的问题。
问题解决:
找到WP-includes/class-IXR.php文件中的
$length = strlen($xml);
修改为
$length = strlen($xml)+3;