Ticket #34170: 34170.patch
| File 34170.patch, 1.9 KB (added by , 10 years ago) |
|---|
-
src/wp-includes/comment-template.php
2024 2024 * @type string $comment_notes_after HTML element for a message displayed after the comment form. 2025 2025 * @type string $id_form The comment form element id attribute. Default 'commentform'. 2026 2026 * @type string $id_submit The comment submit element id attribute. Default 'submit'. 2027 * @type string $class_form The comment form element class attribute. Default 'comment-form'. 2027 2028 * @type string $class_submit The comment submit element class attribute. Default 'submit'. 2028 2029 * @type string $name_submit The comment submit element name attribute. Default 'submit'. 2029 2030 * @type string $title_reply The translatable 'reply' button label. Default 'Leave a Reply'. … … 2092 2093 'comment_notes_after' => '', 2093 2094 'id_form' => 'commentform', 2094 2095 'id_submit' => 'submit', 2096 'class_form' => 'comment-form', 2095 2097 'class_submit' => 'submit', 2096 2098 'name_submit' => 'submit', 2097 2099 'title_reply' => __( 'Leave a Reply' ), … … 2153 2155 */ 2154 2156 do_action( 'comment_form_must_log_in_after' ); 2155 2157 else : ?> 2156 <form action="<?php echo site_url( '/wp-comments-post.php' ); ?>" method="post" id="<?php echo esc_attr( $args['id_form'] ); ?>" class=" comment-form"<?php echo $html5 ? ' novalidate' : ''; ?>>2158 <form action="<?php echo site_url( '/wp-comments-post.php' ); ?>" method="post" id="<?php echo esc_attr( $args['id_form'] ); ?>" class="<?php echo esc_attr( $args['class_form'] ); ?>"<?php echo $html5 ? ' novalidate' : ''; ?>> 2157 2159 <?php 2158 2160 /** 2159 2161 * Fires at the top of the comment form, inside the form tag.