Make WordPress Core


Ignore:
Timestamp:
06/22/2004 01:42:24 AM (22 years ago)
Author:
rboren
Message:

Add missing breaks to the_category().

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/template-functions-category.php

    r1435 r1444  
    100100                    if ($category->category_parent)    $thelist .= get_category_parents($category->category_parent, TRUE);
    101101                    $thelist .= '<a href="' . get_category_link(0, $category->category_id, $category->category_nicename) . '" title="' . sprintf(__("View all posts in %s"), $category->cat_name) . '">'.$category->cat_name.'</a>';
     102                    break;
    102103                case 'single':
    103104                    $thelist .= '<a href="' . get_category_link(0, $category->category_id, $category->category_nicename) . '" title="' . sprintf(__("View all posts in %s"), $category->cat_name) . '">';
    104105                    if ($category->category_parent)    $thelist .= get_category_parents($category->category_parent, FALSE);
    105106                    $thelist .= "$category->cat_name</a>";
     107                    break;
    106108                case '':
    107109                default:
Note: See TracChangeset for help on using the changeset viewer.