Make WordPress Core

Ticket #12981: 12981.diff

File 12981.diff, 518 bytes (added by webord, 11 years ago)

Updating the .diff file for a refreshed one

  • wp-includes/category-template.php

     
    429429        if ( !isset( $r['pad_counts'] ) && $r['show_count'] && $r['hierarchical'] )
    430430                $r['pad_counts'] = true;
    431431
    432         if ( true == $r['hierarchical'] ) {
     432        if ( true == $r['hierarchical'] && empty( $r['exclude_tree'] ) ) {
    433433                $r['exclude_tree'] = $r['exclude'];
    434434                $r['exclude'] = '';
    435435        }