diff --git a/src/wp-includes/category-template.php b/src/wp-includes/category-template.php
index 0525ae792a..449098dd62 100644
a
|
b
|
function get_the_term_list( $post_id, $taxonomy, $before = '', $sep = '', $after |
1353 | 1353 | if ( is_wp_error( $link ) ) { |
1354 | 1354 | return $link; |
1355 | 1355 | } |
1356 | | $links[] = '<a href="' . esc_url( $link ) . '" rel="tag">' . $term->name . '</a>'; |
| 1356 | $links[] = '<a class="' . esc_attr( sanitize_html_class( $taxonomy ) ) . ' ' . esc_attr( sanitize_html_class( $term->slug ) ) . '" href="' . esc_url( $link ) . '" rel="tag">' . $term->name . '</a>'; |
1357 | 1357 | } |
1358 | 1358 | |
1359 | 1359 | /** |