From 30591ea1991e1ebab476f990be5bc37a80f0f75c Mon Sep 17 00:00:00 2001 From: Peter Westwood Date: Wed, 15 Oct 2008 21:02:07 +0000 Subject: [PATCH] Pass on the $separator. Fixes #7005. git-svn-id: https://develop.svn.wordpress.org/trunk@9190 602fd350-edb4-49c9-b593-d223f7449a82 --- 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 ab33ee2c6b..4ce4ccd0bf 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 '':