Encode entities correctly for edit form

git-svn-id: http://svn.automattic.com/wordpress/trunk@2120 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
saxmatt 2005-01-23 23:00:15 +00:00
parent 696b267d19
commit 6bac26e433
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);
}
?>