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:
Boone Gorges 2018-02-07 20:50:30 +00:00
parent 6c11ac0c16
commit 355b6e80da
2 changed files with 2 additions and 2 deletions

View File

@ -3238,7 +3238,7 @@ function wp_handle_comment_submission( $comment_data ) {
* *
* @since 5.0.0 * @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(). * @param array $commentdata Array of comment data to be sent to wp_insert_comment().
*/ */
$allow_empty_comment = apply_filters( 'allow_empty_comment', false, $commentdata ); $allow_empty_comment = apply_filters( 'allow_empty_comment', false, $commentdata );

View File

@ -4,7 +4,7 @@
* *
* @global string $wp_version * @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. * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.