diff --git a/wp-includes/template-functions-category.php b/wp-includes/template-functions-category.php index 2673815017..7105690344 100644 --- a/wp-includes/template-functions-category.php +++ b/wp-includes/template-functions-category.php @@ -99,10 +99,12 @@ function the_category($seperator = '', $parents='') { case 'multiple': if ($category->category_parent) $thelist .= get_category_parents($category->category_parent, TRUE); $thelist .= 'cat_name) . '">'.$category->cat_name.''; + break; case 'single': $thelist .= 'cat_name) . '">'; if ($category->category_parent) $thelist .= get_category_parents($category->category_parent, FALSE); $thelist .= "$category->cat_name"; + break; case '': default: $thelist .= 'cat_name) . '">'.$category->cat_name.'';