From 48bfddf9fc64112ea896b0dca64660e33f4b079a Mon Sep 17 00:00:00 2001 From: ryan Date: Thu, 31 May 2007 03:09:58 +0000 Subject: [PATCH] Disable nesting until inifinite loop tracked down. git-svn-id: http://svn.automattic.com/wordpress/trunk@5608 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/includes/template.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-admin/includes/template.php b/wp-admin/includes/template.php index b984c6862f..6c74991e6a 100644 --- a/wp-admin/includes/template.php +++ b/wp-admin/includes/template.php @@ -104,7 +104,7 @@ function get_nested_categories( $default = 0, $parent = 0 ) { if ( is_array( $cats ) ) { foreach ( $cats as $cat) { // TODO fix hierarchy - $result[$cat]['children'] = get_nested_categories( $default, $cat); + //$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'] = get_the_category_by_ID( $cat);