diff --git src/wp-includes/comment-template.php src/wp-includes/comment-template.php
index 3bae940dac..5a1a53bae5 100644
|
|
function wp_list_comments( $args = array(), $comments = null ) { |
2198 | 2198 | * and 200 characters, respectively. |
2199 | 2199 | * @since 4.6.0 Introduced the 'action' argument. |
2200 | 2200 | * @since 4.9.6 Introduced the 'cookies' default comment field. |
| 2201 | * @since 5.3.0 Introduced `before_comment_form_submit_field` action. |
2201 | 2202 | * |
2202 | 2203 | * @param array $args { |
2203 | 2204 | * Optional. Default arguments and form fields to override. |
… |
… |
function comment_form( $args = array(), $post_id = null ) { |
2520 | 2521 | get_comment_id_fields( $post_id ) |
2521 | 2522 | ); |
2522 | 2523 | |
| 2524 | /** |
| 2525 | * Fires before the submit button. |
| 2526 | * |
| 2527 | * @since 5.3.0 |
| 2528 | * |
| 2529 | * @param int $post_id The post ID. |
| 2530 | * @param string $args Arguments passed to comment_form(). |
| 2531 | */ |
| 2532 | do_action( 'before_comment_form_submit_field', $post_id, $args ); |
| 2533 | |
2523 | 2534 | /** |
2524 | 2535 | * Filters the submit field for the comment form to display. |
2525 | 2536 | * |