Encode entities correctly for edit form
git-svn-id: https://develop.svn.wordpress.org/trunk@2121 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
a812ef0709
commit
114be47f85
|
@ -71,7 +71,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