Escape faultString in IXR. Props josephscott. fixes #5666 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@7615 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
373fab4080
commit
33520df2b6
@ -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
Block a user