diff --git a/src/wp-includes/comment-template.php b/src/wp-includes/comment-template.php index 9572333f27..fcbd51c894 100644 --- a/src/wp-includes/comment-template.php +++ b/src/wp-includes/comment-template.php @@ -2371,7 +2371,7 @@ function comment_form( $args = array(), $post_id = null ) { ( $req ? $required_indicator : '' ) ), sprintf( - '', + '', esc_attr( $commenter['comment_author'] ), ( $req ? $required_attribute : '' ) ) @@ -2384,7 +2384,7 @@ function comment_form( $args = array(), $post_id = null ) { ( $req ? $required_indicator : '' ) ), sprintf( - '', + '', ( $html5 ? 'type="email"' : 'type="text"' ), esc_attr( $commenter['comment_author_email'] ), ( $req ? $required_attribute : '' ) @@ -2397,7 +2397,7 @@ function comment_form( $args = array(), $post_id = null ) { __( 'Website' ) ), sprintf( - '', + '', ( $html5 ? 'type="url"' : 'type="text"' ), esc_attr( $commenter['comment_author_url'] ) )