summaryrefslogtreecommitdiffstats
path: root/wp-includes/class-IXR.php
diff options
context:
space:
mode:
Diffstat (limited to 'wp-includes/class-IXR.php')
-rw-r--r--wp-includes/class-IXR.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/wp-includes/class-IXR.php b/wp-includes/class-IXR.php
index e325ae5..bef0c05 100644
--- a/wp-includes/class-IXR.php
+++ b/wp-includes/class-IXR.php
@@ -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