Preserve entity encoding in plugin editor. http://mosquito.wordpress.org/view.php?id=957 Props: coffee2code

git-svn-id: http://svn.automattic.com/wordpress/trunk@2372 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryan 2005-02-24 18:13:02 +00:00
parent 774a21505d
commit 839698993a
1 changed files with 1 additions and 1 deletions

View File

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