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:
parent
774a21505d
commit
839698993a
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
?>
|
?>
|
||||||
|
|
Loading…
Reference in New Issue