Extra Space in Category List
|Reported by:||junquan||Owned by:|
Line 211 in category-template.php (get_the_category_list() function) is:
$thelist .= $separator . ' ';
The line should instead be:
$thelist .= $separator . '';
When calling the_category(', '), the space is already manually included in current themes, creating a double space ', ' between category names. This usually is not noticed since HTML automatically reduces the double space down to a single.
However, a problem arises if you don't want any space, since calling the_category(',') will result in ', ' still being used as the delimiter.