WordPress.org

Make WordPress Core

Changeset 9190


Ignore:
Timestamp:
10/15/08 21:02:07 (7 years ago)
Author:
westi
Message:

Pass on the $separator. Fixes #7005.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/category-template.php

    r8975 r9190  
    220220                case 'multiple': 
    221221                    if ( $category->parent ) 
    222                         $thelist .= get_category_parents( $category->parent, true ); 
     222                        $thelist .= get_category_parents( $category->parent, true, $separator ); 
    223223                    $thelist .= '<a href="' . get_category_link( $category->term_id ) . '" title="' . sprintf( __( "View all posts in %s" ), $category->name ) . '" ' . $rel . '>' . $category->name.'</a></li>'; 
    224224                    break; 
     
    226226                    $thelist .= '<a href="' . get_category_link( $category->term_id ) . '" title="' . sprintf( __( "View all posts in %s" ), $category->name ) . '" ' . $rel . '>'; 
    227227                    if ( $category->parent ) 
    228                         $thelist .= get_category_parents( $category->parent, false ); 
     228                        $thelist .= get_category_parents( $category->parent, false, $separator ); 
    229229                    $thelist .= $category->name.'</a></li>'; 
    230230                    break; 
     
    243243                case 'multiple': 
    244244                    if ( $category->parent ) 
    245                         $thelist .= get_category_parents( $category->parent, true ); 
     245                        $thelist .= get_category_parents( $category->parent, true, $separator ); 
    246246                    $thelist .= '<a href="' . get_category_link( $category->term_id ) . '" title="' . sprintf( __( "View all posts in %s" ), $category->name ) . '" ' . $rel . '>' . $category->cat_name.'</a>'; 
    247247                    break; 
     
    249249                    $thelist .= '<a href="' . get_category_link( $category->term_id ) . '" title="' . sprintf( __( "View all posts in %s" ), $category->name ) . '" ' . $rel . '>'; 
    250250                    if ( $category->parent ) 
    251                         $thelist .= get_category_parents( $category->parent, false ); 
     251                        $thelist .= get_category_parents( $category->parent, false, $separator ); 
    252252                    $thelist .= "$category->cat_name</a>"; 
    253253                    break; 
Note: See TracChangeset for help on using the changeset viewer.