diff --git a/src/wp-includes/category-template.php b/src/wp-includes/category-template.php index 4e2f6823af..5987daca82 100644 --- a/src/wp-includes/category-template.php +++ b/src/wp-includes/category-template.php @@ -1283,7 +1283,7 @@ function get_term_parents_list( $term_id, $taxonomy, $args = array() ) { $name = ( 'slug' === $args['format'] ) ? $parent->slug : $parent->name; if ( $args['link'] ) { - $list .= '' . $name . '' . $args['separator']; + $list .= '' . $name . '' . $args['separator']; } else { $list .= $name . $args['separator']; }