Encode entities correctly for edit form

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

View File

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