Opened 5 years ago
Closed 5 years ago
#7005 closed defect (bug) (fixed)
the_category ignores seperator
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Priority: | high | Milestone: | 2.7 |
| Component: | General | Version: | 2.5.1 |
| Severity: | major | Keywords: | the_category |
| Cc: |
Description
function get_the_category_list ===in category-template.php
line 151 :
$thelist .= get_category_parents($category->parent, TRUE);
misses $separator argument,so when get_category_parents gets called function get_category_parents sets default value which is '/' ;
in category-template.php line 151 should be :
$thelist .= get_category_parents($category->parent, TRUE, $separator);
same thing should happen in line 128 .
Change History (1)
Note: See
TracTickets for help on using
tickets.

(In [9190]) Pass on the $separator. Fixes #7005.