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:
iammattthomas 2010-06-11 02:17:26 +00:00
parent e31cc08860
commit 848d51b83a
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;