diff --git a/wp-includes/post-template.php b/wp-includes/post-template.php
index e860716..3afda9a 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 | $taxes = $wp_query->get_queried_object(); |
| 426 | $classes[] = 'tax'; |
| 427 | $classes[] = 'tax-' . sanitize_html_class( $taxes->slug, $taxes->term_id ); |
424 | 428 | } |
425 | 429 | } elseif ( is_page() ) { |
426 | 430 | $classes[] = 'page'; |