Fixed author div tag. There was a missing '>' in the tag 💯

This commit is contained in:
Ashar Irfan 2017-10-03 12:28:49 +05:00
parent 37dc527e5b
commit 7dec636454
1 changed files with 1 additions and 1 deletions

View File

@ -21,7 +21,7 @@ function bootstrap3_comment_form_fields( $fields ) {
$aria_req = ( $req ? " aria-required='true'" : '' ); $aria_req = ( $req ? " aria-required='true'" : '' );
$html5 = current_theme_supports( 'html5', 'comment-form' ) ? 1 : 0; $html5 = current_theme_supports( 'html5', 'comment-form' ) ? 1 : 0;
$fields = array( $fields = array(
'author' => '<div class="form-group comment-form-author" <label for="author">' . __( 'Name', 'author' => '<div class="form-group comment-form-author"><label for="author">' . __( 'Name',
'understrap' ) . ( $req ? ' <span class="required">*</span>' : '' ) . '</label> ' . 'understrap' ) . ( $req ? ' <span class="required">*</span>' : '' ) . '</label> ' .
'<input class="form-control" id="author" name="author" type="text" value="' . esc_attr( $commenter['comment_author'] ) . '" size="30"' . $aria_req . '></div>', '<input class="form-control" id="author" name="author" type="text" value="' . esc_attr( $commenter['comment_author'] ) . '" size="30"' . $aria_req . '></div>',
'email' => '<div class="form-group comment-form-email"><label for="email">' . __( 'Email', 'email' => '<div class="form-group comment-form-email"><label for="email">' . __( 'Email',