Docs: Use third-person singular verbs for function descriptions in `wp-admin/includes/comment.php`, as per docblocks standards.

See #55646.

Built from https://develop.svn.wordpress.org/trunk@53743


git-svn-id: http://core.svn.wordpress.org/trunk@53302 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
audrasjb 2022-07-20 22:15:10 +00:00
parent 0df025d2bd
commit 4770e926ab
2 changed files with 5 additions and 5 deletions

View File

@ -8,7 +8,7 @@
*/ */
/** /**
* Determine if a comment exists based on author and date. * Determines if a comment exists based on author and date.
* *
* For best performance, use `$timezone = 'gmt'`, which queries a field that is properly indexed. The default value * For best performance, use `$timezone = 'gmt'`, which queries a field that is properly indexed. The default value
* for `$timezone` is 'blog' for legacy reasons. * for `$timezone` is 'blog' for legacy reasons.
@ -42,7 +42,7 @@ function comment_exists( $comment_author, $comment_date, $timezone = 'blog' ) {
} }
/** /**
* Update a comment with values provided in $_POST. * Updates a comment with values provided in $_POST.
* *
* @since 2.0.0 * @since 2.0.0
* @since 5.5.0 A return value was added. * @since 5.5.0 A return value was added.
@ -135,7 +135,7 @@ function get_comment_to_edit( $id ) {
} }
/** /**
* Get the number of pending comments on a post or posts * Gets the number of pending comments on a post or posts.
* *
* @since 2.3.0 * @since 2.3.0
* *
@ -208,7 +208,7 @@ function enqueue_comment_hotkeys_js() {
} }
/** /**
* Display error message at bottom of comments. * Displays error message at bottom of comments.
* *
* @param string $msg Error Message. Assumed to contain HTML and be sanitized. * @param string $msg Error Message. Assumed to contain HTML and be sanitized.
*/ */

View File

@ -16,7 +16,7 @@
* *
* @global string $wp_version * @global string $wp_version
*/ */
$wp_version = '6.1-alpha-53742'; $wp_version = '6.1-alpha-53743';
/** /**
* 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.