From a812ef0709c167d968f6c2d6c24eb175cdb38e2d Mon Sep 17 00:00:00 2001 From: Matt Mullenweg Date: Sun, 23 Jan 2005 23:00:15 +0000 Subject: [PATCH] Encode entities correctly for edit form git-svn-id: https://develop.svn.wordpress.org/trunk@2120 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-admin/theme-editor.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-admin/theme-editor.php b/wp-admin/theme-editor.php index d06c6a20b5..f65d91af17 100644 --- a/wp-admin/theme-editor.php +++ b/wp-admin/theme-editor.php @@ -73,7 +73,7 @@ default: if (!$error) { $f = fopen($real_file, 'r'); $content = fread($f, filesize($real_file)); - $content = wp_specialchars($content); + $content = htmlspecialchars($content); } ?>