Make WordPress Core


Ignore:
Timestamp:
12/12/2004 08:41:19 PM (21 years ago)
Author:
saxmatt
Message:

Axing htmlspecialchars because it double-encodes-encodes. Better error handling around queries.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/theme-editor.php

    r1881 r1940  
    7474        $f = fopen($real_file, 'r');
    7575        $content = fread($f, filesize($real_file));
    76         $content = htmlspecialchars($content);
     76        $content = wp_specialchars($content);
    7777    }
    7878
Note: See TracChangeset for help on using the changeset viewer.