From 6bac26e43314883c714c0f6dcc49c3aff25fac05 Mon Sep 17 00:00:00 2001 From: saxmatt Date: Sun, 23 Jan 2005 23:00:15 +0000 Subject: [PATCH] Encode entities correctly for edit form git-svn-id: http://svn.automattic.com/wordpress/trunk@2120 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- 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); } ?>