CARVIEW |
Select Language
HTTP/2 200
server: nginx
date: Sat, 11 Oct 2025 06:52:37 GMT
content-type: text/html;charset=utf-8
vary: Accept-Encoding
etag: W/"anonymous/Thu, 15 Apr 2010 17:45:54 GMT/False"
cache-control: must-revalidate
expires: Fri, 01 Jan 1999 00:00:00 GMT
alt-svc: h3=":443"; ma=86400
strict-transport-security: max-age=31536000
x-frame-options: SAMEORIGIN
content-encoding: gzip
10910-phpDoc-typos-rename-suggestion.patch on Ticket #10910 – Attachment
– WordPress Trac
Ticket #10910: 10910-phpDoc-typos-rename-suggestion.patch
File 10910-phpDoc-typos-rename-suggestion.patch, 1.5 KB (added by demetris, 16 years ago) |
---|
Two typos in the comment_form docs, and a rename suggestion |
-
wp-includes/comment-template.php
1470 1470 /** 1471 1471 * Outputs a complete commenting form for use within a template. 1472 1472 * Most strings and form fields may be controlled through the $args array passed 1473 * into the function, while you may also choose to use the comment s_form_default_fields1473 * into the function, while you may also choose to use the comment_form_default_fields 1474 1474 * filter to modify the array of default fields if you'd just like to add a new 1475 1475 * one or remove a single field. All fields are also individually passed through 1476 * a filter of the form comment s_form_field_$name where $name is the key used1476 * a filter of the form comment_form_field_$name where $name is the key used 1477 1477 * in the array of fields. 1478 1478 * 1479 1479 * @since 3.0.0 … … 1536 1536 <?php else : ?> 1537 1537 <?php echo $args['comment_notes_before']; ?> 1538 1538 <?php 1539 do_action( 'comment_form_ before_fields' );1539 do_action( 'comment_form_fields_before' ); 1540 1540 foreach ( (array) $args['fields'] as $name => $field ) { 1541 1541 echo apply_filters( "comment_form_field_{$name}", $field ) . "\n"; 1542 1542 } 1543 do_action( 'comment_form_ after_fields' );1543 do_action( 'comment_form_fields_after' ); 1544 1544 ?> 1545 1545 <?php endif; ?> 1546 1546 <?php echo apply_filters( 'comment_form_field_comment', $args['comment_field'] ); ?>