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