diff --git a/inc/template-tags.php b/inc/template-tags.php index dff75a29..be709e11 100644 --- a/inc/template-tags.php +++ b/inc/template-tags.php @@ -63,51 +63,49 @@ if ( ! function_exists( '_s_comment' ) ) : */ function _s_comment( $comment, $args, $depth ) { $GLOBALS['comment'] = $comment; - switch ( $comment->comment_type ) : - case 'pingback' : - case 'trackback' : - ?> -
  • -

    ', '' ); ?>

    - -
  • id="li-comment-"> -
    -
    + + if ( 'pingback' == $comment->comment_type || 'trackback' == $comment->comment_type ) : ?> + +
  • > +
    + ', '' ); ?> +
    + + + +
  • > +
    +
    - + says:', '_s' ), sprintf( '%s', get_comment_author_link() ) ); ?> -
    - comment_approved == '0' ) : ?> - -
    + + + + + comment_approved ) : ?> +

    +
    - -
  • - -
    +
    + +
    - $depth, - 'max_depth' => $args['max_depth'], - ) ) ); - ?> + 'div-comment', 'depth' => $depth, 'max_depth' => $args['max_depth'] ) ) ); ?>
    -
    +