Ticket #38839: patch.diff
File patch.diff, 519 bytes (added by , 4 years ago) |
---|
-
wp-includes/category-template.php
diff --git a/wp-includes/category-template.php b/wp-includes/category-template.php index fab2640..7546f80 100644
a b function wp_list_categories( $args = '' ) { 624 624 $output .= walk_category_tree( $categories, $depth, $r ); 625 625 } 626 626 627 if ( $r['title_li'] && 'list' == $r['style'] )627 if ( $r['title_li'] && 'list' == $r['style'] && ( ! empty( $categories ) || ! $r['hide_title_if_empty'] ) ) 628 628 $output .= '</ul></li>'; 629 629 630 630 /**