Ticket #15080: 15080.updated.patch
File 15080.updated.patch, 2.1 KB (added by , 12 years ago) |
---|
-
wp-includes/comment-template.php
1524 1524 'author' => '<p class="comment-form-author">' . '<label for="author">' . __( 'Name' ) . ( $req ? ' <span class="required">*</span>' : '' ) . '</label> ' . 1525 1525 '<input id="author" name="author" type="text" value="' . esc_attr( $commenter['comment_author'] ) . '" size="30"' . $aria_req . ' /></p>', 1526 1526 'email' => '<p class="comment-form-email"><label for="email">' . __( 'Email' ) . ( $req ? ' <span class="required">*</span>' : '' ) . '</label> ' . 1527 '<input id="email" name="email" type=" text" value="' . esc_attr( $commenter['comment_author_email'] ) . '" size="30"' . $aria_req . ' /></p>',1527 '<input id="email" name="email" type="email" pattern="" value="' . esc_attr( $commenter['comment_author_email'] ) . '" size="30"' . $aria_req . ' /></p>', 1528 1528 'url' => '<p class="comment-form-url"><label for="url">' . __( 'Website' ) . '</label>' . 1529 '<input id="url" name="url" type=" text" value="' . esc_attr( $commenter['comment_author_url'] ) . '" size="30" /></p>',1529 '<input id="url" name="url" type="url" pattern="" value="' . esc_attr( $commenter['comment_author_url'] ) . '" size="30" /></p>', 1530 1530 ); 1531 1531 1532 1532 $required_text = sprintf( ' ' . __('Required fields are marked %s'), '<span class="required">*</span>' ); … … 1556 1556 <?php echo $args['must_log_in']; ?> 1557 1557 <?php do_action( 'comment_form_must_log_in_after' ); ?> 1558 1558 <?php else : ?> 1559 <form action="<?php echo site_url( '/wp-comments-post.php' ); ?>" method="post" id="<?php echo esc_attr( $args['id_form'] ); ?>" >1559 <form action="<?php echo site_url( '/wp-comments-post.php' ); ?>" method="post" id="<?php echo esc_attr( $args['id_form'] ); ?>" novalidate> 1560 1560 <?php do_action( 'comment_form_top' ); ?> 1561 1561 <?php if ( is_user_logged_in() ) : ?> 1562 1562 <?php echo apply_filters( 'comment_form_logged_in', $args['logged_in_as'], $commenter, $user_identity ); ?>