Ticket #7005 (closed defect: fixed)

Opened 6 months ago

Last modified 1 month ago

the_category ignores seperator

Reported by: dan.safary Assigned to: anonymous
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

10/15/08 21:02:08 changed by westi

  • status changed from new to closed.
  • resolution set to fixed.

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