Make WordPress Core


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

Encode entities correctly for edit form

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/templates.php

    r2105 r2121  
    7272        $f = fopen($real_file, 'r');
    7373        $content = fread($f, filesize($real_file));
    74         $content = wp_specialchars($content);
     74        $content = htmlspecialchars($content);
    7575    }
    7676
Note: See TracChangeset for help on using the changeset viewer.