IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
|
|
|
767 | 767 | } |
768 | 768 | echo $post_link; |
769 | 769 | $post_type_object = get_post_type_object( $post->post_type ); |
770 | | echo "<a href='" . get_permalink( $post->ID ) . "' class='comments-view-item-link'>" . $post_type_object->labels->view_item . '</a>'; |
771 | | echo '<span class="post-com-count-wrapper post-com-count-', $post->ID, '">'; |
| 770 | |
| 771 | if( $post_type_object ) { |
| 772 | echo "<a href='" . get_permalink( $post->ID ) . "' class='comments-view-item-link'>" . $post_type_object->labels->view_item . '</a>'; |
| 773 | } |
| 774 | |
| 775 | echo '<span class="post-com-count-wrapper post-com-count-', $post->ID, '">'; |
772 | 776 | $this->comments_bubble( $post->ID, $pending_comments ); |
773 | 777 | echo '</span> '; |
774 | 778 | echo '</div>'; |