From 3c93ce881f81d45cbd4693b31fca7be82edadc0d Mon Sep 17 00:00:00 2001 From: Jb Audras Date: Wed, 20 Jul 2022 22:14:00 +0000 Subject: [PATCH] Docs: Use third-person singular verbs for function descriptions in `wp-admin/includes/comment.php`, as per docblocks standards. See #55646. git-svn-id: https://develop.svn.wordpress.org/trunk@53743 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/includes/comment.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/wp-admin/includes/comment.php b/src/wp-admin/includes/comment.php index 2c621d3315..ffec90c81e 100644 --- a/src/wp-admin/includes/comment.php +++ b/src/wp-admin/includes/comment.php @@ -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 `$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 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 * @@ -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. */