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 '':