Make WordPress Core

Ticket #3180: patch.diff

File patch.diff, 816 bytes (added by alexkingorg, 20 years ago)
  • wp-includes/general-template.php

     
    154154        $category_name = get_query_var('category_name');
    155155        $author = get_query_var('author');
    156156        $author_name = get_query_var('author_name');
     157        $title = '';
    157158
    158159        // If there's a category
    159160        if ( !empty($cat) ) {
  • wp-includes/category-template.php

     
    44        if ( 0 == $id )
    55                return '';
    66
     7        $chain = '';
     8
    79        $cat_ids = get_all_category_ids();
    810        foreach ( $cat_ids as $cat_id ) {
    911                if ( $cat_id == $id)