From 355b6e80da34214f4feb5bde911aa8510306c37c Mon Sep 17 00:00:00 2001 From: Boone Gorges Date: Wed, 7 Feb 2018 20:50:30 +0000 Subject: [PATCH] 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 --- wp-includes/comment.php | 2 +- wp-includes/version.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/wp-includes/comment.php b/wp-includes/comment.php index e2c5ccbd3c..e9c7457d5e 100644 --- a/wp-includes/comment.php +++ b/wp-includes/comment.php @@ -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 ); diff --git a/wp-includes/version.php b/wp-includes/version.php index 7067cd4293..90dc635980 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -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.