Improve parameter description for 'allow_empty_comments'.
Introduced in [42661]. Props swissspidy. See #16979. Built from https://develop.svn.wordpress.org/trunk@42662 git-svn-id: http://core.svn.wordpress.org/trunk@42491 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
6c11ac0c16
commit
355b6e80da
|
@ -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 );
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '5.0-alpha-42661';
|
||||
$wp_version = '5.0-alpha-42662';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
|
Loading…
Reference in New Issue