Encode entities correctly for edit form

git-svn-id: https://develop.svn.wordpress.org/trunk@2120 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Matt Mullenweg 2005-01-23 23:00:15 +00:00
parent c5dab97703
commit a812ef0709
1 changed files with 1 additions and 1 deletions

View File

@ -73,7 +73,7 @@ default:
if (!$error) {
$f = fopen($real_file, 'r');
$content = fread($f, filesize($real_file));
$content = wp_specialchars($content);
$content = htmlspecialchars($content);
}
?>