summaryrefslogtreecommitdiffstats
path: root/wp-admin/theme-editor.php
diff options
context:
space:
mode:
Diffstat (limited to 'wp-admin/theme-editor.php')
-rw-r--r--wp-admin/theme-editor.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/wp-admin/theme-editor.php b/wp-admin/theme-editor.php
index 6dc6ec3..cc044ed 100644
--- a/wp-admin/theme-editor.php
+++ b/wp-admin/theme-editor.php
@@ -89,7 +89,7 @@ default:
$theme_name = $a_theme['Name'];
if ($theme_name == $theme) $selected = " selected='selected'";
else $selected = '';
- $theme_name = wp_specialchars($theme_name, true);
+ $theme_name = attribute_escape($theme_name);
echo "\n\t<option value=\"$theme_name\" $selected>$theme_name</option>";
}
?>