Merge pull request #427 from asharirfan/issue424

Fixed author div tag. There was a missing '>' in the tag 💯
This commit is contained in:
Holger 2017-10-23 12:20:35 +02:00 committed by GitHub
commit 4b8c760dda
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',