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:
parent
696b267d19
commit
6bac26e433
|
@ -73,7 +73,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