diff --git a/src/wp-includes/post-template.php b/src/wp-includes/post-template.php index 4f3bfbef0cd7e..7201c10034d50 100644 --- a/src/wp-includes/post-template.php +++ b/src/wp-includes/post-template.php @@ -675,6 +675,7 @@ function get_body_class( $css_class = '' ) { $post = $wp_query->get_queried_object(); $post_id = $post->ID; $post_type = $post->post_type; + $classes[] = 'singular'; if ( is_page_template() ) { $classes[] = "{$post_type}-template";