Sub-categories interface improvements.

git-svn-id: http://svn.automattic.com/wordpress/trunk@799 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
saxmatt
2004-01-27 08:31:17 +00:00
parent 8b9f213e57
commit 292737d0b2
3 changed files with 20 additions and 27 deletions

View File

@@ -1460,7 +1460,7 @@ function get_category_parents($id, $link=FALSE, $separator=' / ', $nicename=FALS
function get_category_children($id, $before=' / ', $after='') {
global $tablecategories, $cache_categories;
$c_cache=$cache_categories;#can't do recursive foreach on a global, have to make a copy
$c_cache=$cache_categories; // Can't do recursive foreach on a global, have to make a copy
$chain = "";
foreach ($c_cache as $category){
if ($category->category_parent == $id){