IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
|
|
|
|
| 590 | 590 | if ( isset( $post->post_type ) ) { |
| 591 | 591 | $classes[] = 'single-' . sanitize_html_class($post->post_type, $post_id); |
| 592 | 592 | $classes[] = 'postid-' . $post_id; |
| | 593 | $classes[] = 'post-' . $post->post_name; |
| 593 | 594 | |
| 594 | 595 | // Post Format |
| 595 | 596 | if ( post_type_supports( $post->post_type, 'post-formats' ) ) { |
| … |
… |
|
| 667 | 668 | $post = get_post($page_id); |
| 668 | 669 | |
| 669 | 670 | $classes[] = 'page-id-' . $page_id; |
| | 671 | $classes[] = 'page-' . $post->post_name; |
| 670 | 672 | |
| 671 | 673 | if ( get_pages( array( 'parent' => $page_id, 'number' => 1 ) ) ) { |
| 672 | 674 | $classes[] = 'page-parent'; |