From b31aa3f5680dc13638733aa027a4bfc42d7205ae Mon Sep 17 00:00:00 2001 From: westi Date: Wed, 15 Oct 2008 21:02:07 +0000 Subject: [PATCH] Pass on the $separator. Fixes #7005. git-svn-id: http://svn.automattic.com/wordpress/trunk@9190 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/category-template.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/wp-includes/category-template.php b/wp-includes/category-template.php index ab33ee2c6..4ce4ccd0b 100644 --- a/wp-includes/category-template.php +++ b/wp-includes/category-template.php @@ -219,13 +219,13 @@ function get_the_category_list( $separator = '', $parents='', $post_id = false ) switch ( strtolower( $parents ) ) { case 'multiple': if ( $category->parent ) - $thelist .= get_category_parents( $category->parent, true ); + $thelist .= get_category_parents( $category->parent, true, $separator ); $thelist .= 'name ) . '" ' . $rel . '>' . $category->name.''; break; case 'single': $thelist .= 'name ) . '" ' . $rel . '>'; if ( $category->parent ) - $thelist .= get_category_parents( $category->parent, false ); + $thelist .= get_category_parents( $category->parent, false, $separator ); $thelist .= $category->name.''; break; case '': @@ -242,13 +242,13 @@ function get_the_category_list( $separator = '', $parents='', $post_id = false ) switch ( strtolower( $parents ) ) { case 'multiple': if ( $category->parent ) - $thelist .= get_category_parents( $category->parent, true ); + $thelist .= get_category_parents( $category->parent, true, $separator ); $thelist .= 'name ) . '" ' . $rel . '>' . $category->cat_name.''; break; case 'single': $thelist .= 'name ) . '" ' . $rel . '>'; if ( $category->parent ) - $thelist .= get_category_parents( $category->parent, false ); + $thelist .= get_category_parents( $category->parent, false, $separator ); $thelist .= "$category->cat_name"; break; case '':