WordPress.org

Make WordPress Core

Changeset 7615


Ignore:
Timestamp:
04/07/08 18:30:51 (6 years ago)
Author:
ryan
Message:

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

File:
1 edited

Legend:

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

    r6440 r7615  
    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.