Escape faultString in IXR. Props josephscott. fixes #5666 for 2.5
git-svn-id: http://svn.automattic.com/wordpress/branches/2.5@7616 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
092da00763
commit
9c0dc30258
|
@ -571,7 +571,7 @@ class IXR_Error {
|
|||
var $message;
|
||||
function IXR_Error($code, $message) {
|
||||
$this->code = $code;
|
||||
$this->message = $message;
|
||||
$this->message = htmlspecialchars($message);
|
||||
}
|
||||
function getXml() {
|
||||
$xml = <<<EOD
|
||||
|
|
Loading…
Reference in New Issue