From f12d55d8a41e93eb28aaec95fbc1dcc6ca5dc6ed Mon Sep 17 00:00:00 2001 From: dd32 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: http://svn.automattic.com/wordpress/trunk@13943 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- 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 )