mirror of
git://develop.git.wordpress.org/
synced 2025-02-24 08:33:35 +01:00
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:
parent
4f22e04244
commit
fa266b4724
@ -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 );
|
||||
|
Loading…
x
Reference in New Issue
Block a user