diff --git a/wp-includes/post-template.php b/wp-includes/post-template.php
index e860716..bfe8f5b 100644
a
|
b
|
function get_body_class( $class = '' ) { |
421 | 421 | $tags = $wp_query->get_queried_object(); |
422 | 422 | $classes[] = 'tag'; |
423 | 423 | $classes[] = 'tag-' . sanitize_html_class( $tags->slug, $tags->term_id ); |
| 424 | } elseif ( is_tax() ) { |
| 425 | $tax = $wp_query->get_queried_object(); |
| 426 | $taxonomy = $tax->taxonomy; |
| 427 | $classes[] = "tax-$taxonomy"; |
| 428 | $classes[] = "tax-$taxonomy-" . sanitize_html_class( $tax->slug, $tax->term_id ); |
424 | 429 | } |
425 | 430 | } elseif ( is_page() ) { |
426 | 431 | $classes[] = 'page'; |