Update since annotation on allow_empty_comment hook.

Originally introduced in [42661].

Fixes #16979.

git-svn-id: https://develop.svn.wordpress.org/trunk@44364 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Boone Gorges 2018-12-28 13:41:23 +00:00
parent e0f93daa56
commit 5427baed55

View File

@ -3246,7 +3246,7 @@ function wp_handle_comment_submission( $comment_data ) {
/**
* Filters whether an empty comment should be allowed.
*
* @since 5.0.0
* @since 5.1.0
*
* @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().