WordPress.org

Make WordPress Core

Ticket #5666: class-IXR.php.diff

File class-IXR.php.diff, 449 bytes (added by josephscott, 7 years ago)
  • wp-includes/class-IXR.php

     
    571571    var $message; 
    572572    function IXR_Error($code, $message) { 
    573573        $this->code = $code; 
    574         $this->message = $message; 
     574        $this->message = htmlspecialchars($message); 
    575575    } 
    576576    function getXml() { 
    577577        $xml = <<<EOD