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:
parent
1eaf1b9d00
commit
b4966db02b
@ -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
Block a user