Ticket #21203: 21203.1.patch
| File 21203.1.patch, 489 bytes (added by , 14 years ago) |
|---|
-
wp-includes/post-template.php
317 317 318 318 if ( empty($post) ) 319 319 return $classes; 320 if ( ! is_admin() ) 321 $classes[] = $post->post_type; 320 322 321 323 $classes[] = 'post-' . $post->ID; 322 $classes[] = $post->post_type;323 324 $classes[] = 'type-' . $post->post_type; 324 325 $classes[] = 'status-' . $post->post_status; 325 326