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
This commit is contained in:
Dion Hulse 2010-04-02 07:30:20 +00:00
parent c57a54f082
commit 9b2113d8cd
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 )