Avoid displaying custom comment types as pingbacks/trackbacks in Twenty Ten. Fixes #13812. Props jdub.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15209 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
e31cc08860
commit
848d51b83a
|
@ -378,7 +378,7 @@ function twentyten_comment( $comment, $args, $depth ) {
|
|||
</div><!-- .reply -->
|
||||
</div><!-- #comment-## -->
|
||||
|
||||
<?php else : ?>
|
||||
<?php elseif ( in_array($comment->comment_type, array('pingback', 'trackback')) ) : ?>
|
||||
<li class="post pingback">
|
||||
<p><?php _e( 'Pingback:', 'twentyten' ); ?> <?php comment_author_link(); ?><?php edit_comment_link( __('(Edit)', 'twentyten'), ' ' ); ?></p>
|
||||
<?php endif;
|
||||
|
|
Loading…
Reference in New Issue