Encode entities correctly for edit form

git-svn-id: http://svn.automattic.com/wordpress/trunk@2121 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
saxmatt 2005-01-23 23:21:44 +00:00
parent 6bac26e433
commit ca285ec098

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);
}
?>