From e78ceee3fc91b8d3a9e8df201ebde6cfd1308bc5 Mon Sep 17 00:00:00 2001 From: Matt Mullenweg Date: Mon, 24 Jan 2005 10:09:01 +0000 Subject: [PATCH] Another place we need to double encode git-svn-id: https://develop.svn.wordpress.org/trunk@2143 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-admin/options.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-admin/options.php b/wp-admin/options.php index e35d287887..fd9126f53d 100644 --- a/wp-admin/options.php +++ b/wp-admin/options.php @@ -52,7 +52,7 @@ case 'update': // should we even bother checking? if ($user_level >= $option->option_admin_level) { $old_val = $option->option_value; - $new_val = wp_specialchars( trim($_POST[$option->option_name]) ); + $new_val = htmlspecialchars( trim($_POST[$option->option_name]) ); if (!$new_val) { if (3 == $option->option_type) $new_val = '';