Update custom-comments.php

This commit is contained in:
Holger 2016-02-23 08:33:13 +01:00
parent b6d780dfe2
commit 3c1ca8cee6
1 changed files with 2 additions and 2 deletions

View File

@ -22,8 +22,8 @@
add_filter( 'comment_form_defaults', 'bootstrap3_comment_form' );
function bootstrap3_comment_form( $args ) {
$args['comment_field'] = '<div class="form-group comment-form-comment">
<label for="comment">' . _x( 'Comment', 'noun', 'understrap' ) . ( $req ? ' <span class="required">*</span>' : '' ) . '</label>
<label for="comment">' . _x( 'Comment', 'noun', 'understrap' ) . '</label>
<textarea class="form-control" id="comment" name="comment" cols="45" rows="8" aria-required="true"></textarea>
</div>';
return $args;
}
}