Update `since` annotation on `allow_empty_comment` hook.
Originally introduced in [42661]. Fixes #16979. Built from https://develop.svn.wordpress.org/trunk@44364 git-svn-id: http://core.svn.wordpress.org/trunk@44194 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
1f8ece80fa
commit
c9a275c4a9
|
@ -3246,7 +3246,7 @@ function wp_handle_comment_submission( $comment_data ) {
|
||||||
/**
|
/**
|
||||||
* Filters whether an empty comment should be allowed.
|
* 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 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().
|
||||||
|
|
|
@ -13,7 +13,7 @@
|
||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @global string $wp_version
|
||||||
*/
|
*/
|
||||||
$wp_version = '5.1-alpha-44363';
|
$wp_version = '5.1-alpha-44364';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 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.
|
||||||
|
|
Loading…
Reference in New Issue