diff --git a/wp-admin/admin-functions.php b/wp-admin/admin-functions.php
index d1df178cf0..dd0a74933a 100644
--- a/wp-admin/admin-functions.php
+++ b/wp-admin/admin-functions.php
@@ -80,7 +80,7 @@ function get_nested_categories($default = 0, $parent = 0) {
$result[$cat]['children'] = get_nested_categories($default, $cat);
$result[$cat]['cat_ID'] = $cat;
$result[$cat]['checked'] = in_array($cat, $checked_categories);
- $result[$cat]['cat_name'] = stripslashes(get_the_category_by_ID($cat));
+ $result[$cat]['cat_name'] = get_the_category_by_ID($cat);
}
return $result;
diff --git a/wp-admin/link-categories.php b/wp-admin/link-categories.php
index 8ba9a999f8..aa37102474 100644
--- a/wp-admin/link-categories.php
+++ b/wp-admin/link-categories.php
@@ -87,7 +87,6 @@ switch ($action) {
$cat_id = $_GET['cat_id'];
$cat_name=get_linkcatname($cat_id);
- $cat_name=addslashes($cat_name);
if ($cat_id=="1")
die(sprintf(__("Can't delete the %s link category: this is the default one"), $cat_name));
@@ -132,7 +131,7 @@ switch ($action) {