From 9b2113d8cdcc21b70381450519232c77dfd7adc1 Mon Sep 17 00:00:00 2001 From: Dion Hulse Date: Fri, 2 Apr 2010 07:30:20 +0000 Subject: [PATCH] Match the separator style of get_category_parents() in get_the_category_list(), Respects the spacing of the provided separator. Fixes #10761 git-svn-id: https://develop.svn.wordpress.org/trunk@13943 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-includes/category-template.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-includes/category-template.php b/wp-includes/category-template.php index b816dbdb1c..12fc727148 100644 --- a/wp-includes/category-template.php +++ b/wp-includes/category-template.php @@ -207,7 +207,7 @@ function get_the_category_list( $separator = '', $parents='', $post_id = false ) $i = 0; foreach ( $categories as $category ) { if ( 0 < $i ) - $thelist .= $separator . ' '; + $thelist .= $separator; switch ( strtolower( $parents ) ) { case 'multiple': if ( $category->parent )