mirror of
git://develop.git.wordpress.org/
synced 2025-01-19 13:47:02 +01:00
Preserve entity encoding in plugin editor. http://mosquito.wordpress.org/view.php?id=957 Props: coffee2code
git-svn-id: https://develop.svn.wordpress.org/trunk@2372 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
fd9ab661fe
commit
a818b4e6a2
@ -67,7 +67,7 @@ default:
|
||||
if (!$error) {
|
||||
$f = fopen($real_file, 'r');
|
||||
$content = fread($f, filesize($real_file));
|
||||
$content = wp_specialchars($content);
|
||||
$content = htmlspecialchars($content);
|
||||
}
|
||||
|
||||
?>
|
||||
|
Loading…
x
Reference in New Issue
Block a user