diff --git a/wp-includes/comment-template.php b/wp-includes/comment-template.php index b6dff4e527..1c54a45310 100644 --- a/wp-includes/comment-template.php +++ b/wp-includes/comment-template.php @@ -2176,12 +2176,13 @@ function comment_form( $args = array(), $post_id = null ) { $req = get_option( 'require_name_email' ); $aria_req = ( $req ? " aria-required='true'" : '' ); + $html_req = ( $req ? " required='required'" : '' ); $html5 = 'html5' === $args['format']; $fields = array( 'author' => '
', + '', 'email' => '' . - '
', + '', 'url' => '' . '
', ); @@ -2198,7 +2199,7 @@ function comment_form( $args = array(), $post_id = null ) { $fields = apply_filters( 'comment_form_default_fields', $fields ); $defaults = array( 'fields' => $fields, - 'comment_field' => '', + 'comment_field' => '
', /** This filter is documented in wp-includes/link-template.php */ 'must_log_in' => '
' . sprintf( __( 'You must be logged in to post a comment.' ), wp_login_url( apply_filters( 'the_permalink', get_permalink( $post_id ) ) ) ) . '
', /** This filter is documented in wp-includes/link-template.php */ diff --git a/wp-includes/version.php b/wp-includes/version.php index 7b5500185b..a98462c4f7 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.2-alpha-31203'; +$wp_version = '4.2-alpha-31204'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.