|
@@ -30,15 +30,15 @@ |
|
|
block discarded – undo |
|
30
|
30
|
$fields = array( |
|
31
|
31
|
'author' => '<div class="form-group comment-form-author"><label for="author">' . __( 'Name', |
|
32
|
32
|
'spurs' ) . ( $req ? ' <span class="required">*</span>' : '' ) . '</label> ' . |
|
33
|
|
- '<input class="form-control" id="author" name="author" type="text" value="' . esc_attr( $commenter['comment_author'] ) . '" size="30"' . $aria_req . '></div>', |
|
|
33
|
+ '<input class="form-control" id="author" name="author" type="text" value="' . esc_attr( $commenter['comment_author'] ) . '" size="30"' . $aria_req . '></div>', |
|
34
|
34
|
'email' => '<div class="form-group comment-form-email"><label for="email">' . __( 'Email', |
|
35
|
35
|
'spurs' ) . ( $req ? ' <span class="required">*</span>' : '' ) . '</label> ' . |
|
36
|
|
- '<input class="form-control" id="email" name="email" ' . ( $html5 ? 'type="email"' : 'type="text"' ) . ' value="' . esc_attr( $commenter['comment_author_email'] ) . '" size="30"' . $aria_req . '></div>', |
|
|
36
|
+ '<input class="form-control" id="email" name="email" ' . ( $html5 ? 'type="email"' : 'type="text"' ) . ' value="' . esc_attr( $commenter['comment_author_email'] ) . '" size="30"' . $aria_req . '></div>', |
|
37
|
37
|
'url' => '<div class="form-group comment-form-url"><label for="url">' . __( 'Website', |
|
38
|
38
|
'spurs' ) . '</label> ' . |
|
39
|
|
- '<input class="form-control" id="url" name="url" ' . ( $html5 ? 'type="url"' : 'type="text"' ) . ' value="' . esc_attr( $commenter['comment_author_url'] ) . '" size="30"></div>', |
|
|
39
|
+ '<input class="form-control" id="url" name="url" ' . ( $html5 ? 'type="url"' : 'type="text"' ) . ' value="' . esc_attr( $commenter['comment_author_url'] ) . '" size="30"></div>', |
|
40
|
40
|
'cookies' => '<div class="form-group form-check comment-form-cookies-consent"><input class="form-check-input" id="wp-comment-cookies-consent" name="wp-comment-cookies-consent" type="checkbox" value="yes"' . $consent . ' /> ' . |
|
41
|
|
- '<label class="form-check-label" for="wp-comment-cookies-consent">' . __( 'Save my name, email, and website in this browser for the next time I comment', 'spurs' ) . '</label></div>', |
|
|
41
|
+ '<label class="form-check-label" for="wp-comment-cookies-consent">' . __( 'Save my name, email, and website in this browser for the next time I comment', 'spurs' ) . '</label></div>', |
|
42
|
42
|
); |
|
43
|
43
|
|
|
44
|
44
|
return $fields; |