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 = '';