mirror of
https://github.com/WordPress/WordPress.git
synced 2025-02-02 05:31:25 +01:00
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:
parent
6bac26e433
commit
ca285ec098
@ -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);
|
||||
}
|
||||
|
||||
?>
|
||||
|
Loading…
Reference in New Issue
Block a user