Changeset 9190
- Timestamp:
- 10/15/2008 09:02:07 PM (17 years ago)
- File:
-
- 1 edited
-
trunk/wp-includes/category-template.php (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/category-template.php
r8975 r9190 220 220 case 'multiple': 221 221 if ( $category->parent ) 222 $thelist .= get_category_parents( $category->parent, true );222 $thelist .= get_category_parents( $category->parent, true, $separator ); 223 223 $thelist .= '<a href="' . get_category_link( $category->term_id ) . '" title="' . sprintf( __( "View all posts in %s" ), $category->name ) . '" ' . $rel . '>' . $category->name.'</a></li>'; 224 224 break; … … 226 226 $thelist .= '<a href="' . get_category_link( $category->term_id ) . '" title="' . sprintf( __( "View all posts in %s" ), $category->name ) . '" ' . $rel . '>'; 227 227 if ( $category->parent ) 228 $thelist .= get_category_parents( $category->parent, false );228 $thelist .= get_category_parents( $category->parent, false, $separator ); 229 229 $thelist .= $category->name.'</a></li>'; 230 230 break; … … 243 243 case 'multiple': 244 244 if ( $category->parent ) 245 $thelist .= get_category_parents( $category->parent, true );245 $thelist .= get_category_parents( $category->parent, true, $separator ); 246 246 $thelist .= '<a href="' . get_category_link( $category->term_id ) . '" title="' . sprintf( __( "View all posts in %s" ), $category->name ) . '" ' . $rel . '>' . $category->cat_name.'</a>'; 247 247 break; … … 249 249 $thelist .= '<a href="' . get_category_link( $category->term_id ) . '" title="' . sprintf( __( "View all posts in %s" ), $category->name ) . '" ' . $rel . '>'; 250 250 if ( $category->parent ) 251 $thelist .= get_category_parents( $category->parent, false );251 $thelist .= get_category_parents( $category->parent, false, $separator ); 252 252 $thelist .= "$category->cat_name</a>"; 253 253 break;
Note: See TracChangeset
for help on using the changeset viewer.