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:
parent
c57a54f082
commit
9b2113d8cd
@ -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 )
|
||||
|
Loading…
Reference in New Issue
Block a user