Ticket #41009: 41009.diff
| File 41009.diff, 2.1 KB (added by , 6 years ago) |
|---|
-
src/wp-includes/comment-template.php
2250 2250 * @type string $id_submit The comment submit element id attribute. Default 'submit'. 2251 2251 * @type string $class_form The comment form element class attribute. Default 'comment-form'. 2252 2252 * @type string $class_submit The comment submit element class attribute. Default 'submit'. 2253 * @type string $class_respond The comment submit element class attribute. Default 'comment-respond'. 2253 2254 * @type string $name_submit The comment submit element name attribute. Default 'submit'. 2254 2255 * @type string $title_reply The translatable 'reply' button label. Default 'Leave a Reply'. 2255 2256 * @type string $title_reply_to The translatable 'reply-to' button label. Default 'Leave a Reply to %s', … … 2378 2379 * @param string[] $fields Array of the default comment fields. 2379 2380 */ 2380 2381 $fields = apply_filters( 'comment_form_default_fields', $fields ); 2381 2382 2382 2383 $defaults = array( 2383 2384 'fields' => $fields, 2384 2385 'comment_field' => sprintf( … … 2425 2426 'id_submit' => 'submit', 2426 2427 'class_form' => 'comment-form', 2427 2428 'class_submit' => 'submit', 2429 'class_respond' => 'comment-respond', 2428 2430 'name_submit' => 'submit', 2429 2431 'title_reply' => __( 'Leave a Reply' ), 2430 2432 /* translators: %s: Author of the comment being replied to. */ … … 2469 2471 * @since 3.0.0 2470 2472 */ 2471 2473 do_action( 'comment_form_before' ); 2472 ?> 2473 <div id="respond" class="comment-respond"> 2474 <?php 2474 printf( 2475 '<div id="respond" class="%s">', 2476 esc_attr( $args['class_respond'] ) 2477 ); 2475 2478 echo $args['title_reply_before']; 2476 2479 2477 2480 comment_form_title( $args['title_reply'], $args['title_reply_to'] ); … … 2661 2664 echo '</form>'; 2662 2665 2663 2666 endif; 2664 ?> 2665 </div><!-- #respond --> 2667 echo '</div>'; 2668 ?> 2669 <!-- #respond --> 2666 2670 <?php 2667 2671 2668 2672 /**
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)