From f1d4f49057f1d3dc54ee8a19c10156d246fd31ba Mon Sep 17 00:00:00 2001 From: Ryan Boren Date: Wed, 23 Apr 2008 22:00:31 +0000 Subject: [PATCH] Reverting [7729]. Breaks listing of categories with posts that have parents with no posts. git-svn-id: https://develop.svn.wordpress.org/trunk@7792 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-includes/category-template.php | 4 ---- 1 file changed, 4 deletions(-) diff --git a/wp-includes/category-template.php b/wp-includes/category-template.php index b0ab6511b8..ba24302074 100644 --- a/wp-includes/category-template.php +++ b/wp-includes/category-template.php @@ -232,9 +232,7 @@ function wp_dropdown_categories($args = '') { if ( (int) $tab_index > 0 ) $tab_index_attribute = " tabindex=\"$tab_index\""; - $r['hierarchical'] = 0; $categories = get_categories($r); - $r['hierarchical'] = $hierarchical; $output = ''; if ( ! empty($categories) ) { @@ -291,9 +289,7 @@ function wp_list_categories($args = '') { extract( $r ); - $r['hierarchical'] = 0; $categories = get_categories($r); - $r['hierarchical'] = $hierarchical; $output = ''; if ( $title_li && 'list' == $style )