Make WordPress Core


Ignore:
Timestamp:
01/23/2005 11:00:15 PM (20 years ago)
Author:
saxmatt
Message:

Encode entities correctly for edit form

File:
1 edited

Legend:

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

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