Ticket #28083: wp-list-categories-exclude-tree.diff
| File wp-list-categories-exclude-tree.diff, 527 bytes (added by , 13 years ago) |
|---|
-
src/wp-includes/category-template.php
480 480 if ( !isset( $r['pad_counts'] ) && $r['show_count'] && $r['hierarchical'] ) 481 481 $r['pad_counts'] = true; 482 482 483 if ( true == $r['hierarchical'] ) {483 if ( true == $r['hierarchical'] && '' == $r['exclude_tree'] ) { 484 484 $r['exclude_tree'] = $r['exclude']; 485 485 $r['exclude'] = ''; 486 486 }