From 114be47f85fc10439074d09570f4292eb2557904 Mon Sep 17 00:00:00 2001 From: Matt Mullenweg Date: Sun, 23 Jan 2005 23:21:44 +0000 Subject: [PATCH] Encode entities correctly for edit form git-svn-id: https://develop.svn.wordpress.org/trunk@2121 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-admin/templates.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-admin/templates.php b/wp-admin/templates.php index ffccdae665..1bca48f834 100644 --- a/wp-admin/templates.php +++ b/wp-admin/templates.php @@ -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); } ?>