mirror of
https://github.com/WordPress/WordPress.git
synced 2025-01-10 10:27:57 +01:00
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:
parent
cba11b1ecd
commit
f12d55d8a4
@ -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