From 7493d90f96b2c329a65a0ea3278cdea875854e62 Mon Sep 17 00:00:00 2001 From: Drew Jaynes Date: Sat, 12 Dec 2015 01:06:03 +0000 Subject: [PATCH] Docs: Update the summary for the `comment_form_fields` hook docs to explicitly mention inclusion of the textarea element as a filterable element. Previously [35723] Props bappidgreat. Fixes #34973. git-svn-id: https://develop.svn.wordpress.org/trunk@35877 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/comment-template.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wp-includes/comment-template.php b/src/wp-includes/comment-template.php index a972963f4e..13d34a5555 100644 --- a/src/wp-includes/comment-template.php +++ b/src/wp-includes/comment-template.php @@ -2169,7 +2169,7 @@ function comment_form( $args = array(), $post_id = null ) { $comment_fields = array( 'comment' => $args['comment_field'] ) + (array) $args['fields']; /** - * Filter the comment form fields. + * Filter the comment form fields, including the textarea. * * @since 4.4.0 *