Ticket #29974: 29974.2.patch
File 29974.2.patch, 1.6 KB (added by , 10 years ago) |
---|
-
src/wp-includes/comment-template.php
2254 2254 <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' : ''; ?>> 2255 2255 <?php 2256 2256 /** 2257 * Filter the content of the comment textarea field for display. 2258 * 2259 * @since 3.0.0 2260 * 2261 * @param string $args_comment_field The content of the comment textarea field. 2262 */ 2263 echo apply_filters( 'comment_form_field_comment', $args['comment_field'] ); 2264 ?> 2265 <?php 2266 /** 2257 2267 * Fires at the top of the comment form, inside the form tag. 2258 2268 * 2259 2269 * @since 3.0.0 … … 2318 2328 do_action( 'comment_form_after_fields' ); 2319 2329 ?> 2320 2330 <?php endif; ?> 2321 <?php2322 /**2323 * Filter the content of the comment textarea field for display.2324 *2325 * @since 3.0.02326 *2327 * @param string $args_comment_field The content of the comment textarea field.2328 */2329 echo apply_filters( 'comment_form_field_comment', $args['comment_field'] );2330 ?>2331 2331 <?php echo $args['comment_notes_after']; ?> 2332 2332 <p class="form-submit"> 2333 2333 <input name="<?php echo esc_attr( $args['name_submit'] ); ?>" type="submit" id="<?php echo esc_attr( $args['id_submit'] ); ?>" class="<?php echo esc_attr( $args['class_submit'] ); ?>" value="<?php echo esc_attr( $args['label_submit'] ); ?>" />