From eedeb9dea16db7bf656a89a1f9861faad3dbbf1f Mon Sep 17 00:00:00 2001 From: rboren Date: Tue, 22 Jun 2004 01:42:24 +0000 Subject: [PATCH] Add missing breaks to the_category(). git-svn-id: http://svn.automattic.com/wordpress/trunk@1444 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- 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.'';