[wp-trac] [WordPress Trac] #7004: the_category ignores seperator

WordPress Trac wp-trac at lists.automattic.com
Tue May 20 19:03:14 GMT 2008


#7004: the_category ignores seperator
------------------------+---------------------------------------------------
 Reporter:  dan.safary  |       Owner:  anonymous   
     Type:  defect      |      Status:  new         
 Priority:  high        |   Milestone:  2.7         
Component:  General     |     Version:              
 Severity:  major       |    Keywords:  the_category
------------------------+---------------------------------------------------
 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);

-- 
Ticket URL: <http://trac.wordpress.org/ticket/7004>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list