Improve parameter description for 'allow_empty_comments'.

Introduced in [42661].

Props swissspidy.
See #16979.

git-svn-id: https://develop.svn.wordpress.org/trunk@42662 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Boone Gorges 2018-02-07 20:49:26 +00:00
parent 4f22e04244
commit fa266b4724
1 changed files with 1 additions and 1 deletions

View File

@ -3238,7 +3238,7 @@ function wp_handle_comment_submission( $comment_data ) {
*
* @since 5.0.0
*
* @param bool $allow_empty_comment Default false.
* @param bool $allow_empty_comment Whether to allow empty comments. Default false.
* @param array $commentdata Array of comment data to be sent to wp_insert_comment().
*/
$allow_empty_comment = apply_filters( 'allow_empty_comment', false, $commentdata );