Reverting [7733]. Breaks listing of categories with posts that have parents with no posts.

git-svn-id: http://svn.automattic.com/wordpress/branches/2.5@7793 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryan 2008-04-23 22:02:09 +00:00
parent d391388a17
commit 7b31ea2f06
1 changed files with 0 additions and 4 deletions

View File

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