stripslashes() elimination. Remove extra slashes during upgrade. Bugs 0000059 and 0000018

git-svn-id: http://svn.automattic.com/wordpress/trunk@1435 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
rboren
2004-06-18 00:22:09 +00:00
parent c222d7d2e0
commit 6fd6b1080d
17 changed files with 131 additions and 109 deletions

View File

@@ -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;