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); } ?>