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
This commit is contained in:
dd32 2010-04-02 07:30:20 +00:00
parent cba11b1ecd
commit f12d55d8a4
1 changed files with 1 additions and 1 deletions

View File

@ -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 )