WordPress.org

Make WordPress Core

Changeset 7616


Ignore:
Timestamp:
04/07/08 18:32:17 (7 years ago)
Author:
ryan
Message:

Escape faultString in IXR. Props josephscott. fixes #5666 for 2.5

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.5/wp-includes/class-IXR.php

    r6440 r7616  
    572572    function IXR_Error($code, $message) { 
    573573        $this->code = $code; 
    574         $this->message = $message; 
     574        $this->message = htmlspecialchars($message); 
    575575    } 
    576576    function getXml() { 
Note: See TracChangeset for help on using the changeset viewer.