Avoid displaying custom comment types as pingbacks/trackbacks in Twenty Ten. Fixes #13812. Props jdub.

git-svn-id: https://develop.svn.wordpress.org/trunk@15209 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Matt Thomas 2010-06-11 02:17:26 +00:00
parent 1eaf1b9d00
commit b4966db02b
1 changed files with 1 additions and 1 deletions

View File

@ -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;