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

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


#7005: the_category ignores seperator
------------------------+---------------------------------------------------
 Reporter:  dan.safary  |       Owner:  anonymous   
     Type:  defect      |      Status:  new         
 Priority:  high        |   Milestone:  2.7         
Component:  General     |     Version:  2.5.1       
 Severity:  major       |    Keywords:  the_category
------------------------+---------------------------------------------------
 function get_the_category_list  ===in category-template.php[[BR]]

 line 151 :[[BR]]

 {{{
 $thelist .= get_category_parents($category->parent, TRUE);
 }}}
 [[BR]]
 misses $separator argument,so when get_category_parents gets called
 function get_category_parents sets default value which is '/' ;[[BR]]
 in category-template.php line 151 should be :[[BR]]

 {{{
 $thelist .= get_category_parents($category->parent, TRUE, $separator);
 }}}

 same thing should happen in line 128 .

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


More information about the wp-trac mailing list