diff --git a/wp-includes/post-template.php b/wp-includes/post-template.php index 67891283f2..00613118a9 100644 --- a/wp-includes/post-template.php +++ b/wp-includes/post-template.php @@ -322,7 +322,8 @@ function get_post_class( $class = '', $post_id = null ) { return $classes; $classes[] = 'post-' . $post->ID; - $classes[] = $post->post_type; + if ( ! is_admin() ) + $classes[] = $post->post_type; $classes[] = 'type-' . $post->post_type; $classes[] = 'status-' . $post->post_status;