From dc89a3d3a4c42d5c8607282ba4cd8842dd1befa4 Mon Sep 17 00:00:00 2001 From: Ryan Boren Date: Tue, 22 Jun 2004 01:42:24 +0000 Subject: [PATCH] Add missing breaks to the_category(). git-svn-id: https://develop.svn.wordpress.org/trunk@1444 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-includes/template-functions-category.php | 2 ++ 1 file changed, 2 insertions(+) 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.'';