diff --git a/app/setup/password-form.php b/app/setup/password-form.php index fd773926..b5fc5b10 100644 --- a/app/setup/password-form.php +++ b/app/setup/password-form.php @@ -22,21 +22,7 @@ public function __construct() { */ public function password_form( $output ) { ob_start(); - ?> -
-

- -

-
-
- -
-
- -
-
-
- set_vars( $vars ); $template_part->render(); } diff --git a/app/tags/the-comments.php b/app/tags/the-comments.php index cbfe9df7..ec1b854d 100644 --- a/app/tags/the-comments.php +++ b/app/tags/the-comments.php @@ -18,46 +18,12 @@ function the_comments( $comment, $args, $depth ) { ?>
  • id="li-comment-"> -
    -
    - -
    -
    - comment_approved ) : ?> - - -
    - %s', get_comment_author_link() ); - $date = get_comment_date(); - $time = get_comment_time(); - printf( - esc_html__( '%1$s said on %2$s at %3$s', 'mimizuku' ), - wp_kses_post( $author ), - wp_kses_post( $date ), - wp_kses_post( $time ) - ); - edit_comment_link( 'edit', ' ', '' ); - ?> -
    - -
    - -
    - - $depth, - 'max_depth' => $args['max_depth'], - ] ); - ?> - - -
    - -
    - -
    -
    + $comment, + '_args' => $args, + '_depth' => $depth, + ] ); + ?>
  • id="li-comment-"> -
    -
    - %s', get_comment_author_link() ); - $date = get_comment_date(); - $time = get_comment_time(); - printf( - esc_html__( '%1$s said on %2$s at %3$s', 'mimizuku' ), - wp_kses_post( $author ), - wp_kses_post( $date ), - wp_kses_post( $time ) - ); - edit_comment_link( 'edit', ' ', '' ); - ?> -
    -
    - -
    -
    + +
    +
    + +
    +
    + comment_approved ) : ?> + + +
    + %s', get_comment_author_link() ); + $date = get_comment_date(); + $time = get_comment_time(); + printf( + esc_html__( '%1$s said on %2$s at %3$s', 'mimizuku' ), + wp_kses_post( $author ), + wp_kses_post( $date ), + wp_kses_post( $time ) + ); + edit_comment_link( 'edit', ' ', '' ); + ?> +
    + +
    + +
    + + $_depth, + 'max_depth' => $_args['max_depth'], + ] ); + ?> + + +
    + +
    + +
    +
    diff --git a/template-parts/password-form.php b/template-parts/password-form.php new file mode 100644 index 00000000..fbc1d3c6 --- /dev/null +++ b/template-parts/password-form.php @@ -0,0 +1,20 @@ + +
    +

    + +

    +
    +
    + +
    +
    + +
    +
    +
    diff --git a/template-parts/trackback.php b/template-parts/trackback.php new file mode 100644 index 00000000..d854a2f7 --- /dev/null +++ b/template-parts/trackback.php @@ -0,0 +1,26 @@ + +
    +
    + %s', get_comment_author_link() ); + $date = get_comment_date(); + $time = get_comment_time(); + printf( + esc_html__( '%1$s said on %2$s at %3$s', 'mimizuku' ), + wp_kses_post( $author ), + wp_kses_post( $date ), + wp_kses_post( $time ) + ); + edit_comment_link( 'edit', ' ', '' ); + ?> +
    +
    + +
    +