From 4770e926ab3ab2e7c5b774be13a4a58f647de65f Mon Sep 17 00:00:00 2001 From: audrasjb Date: Wed, 20 Jul 2022 22:15:10 +0000 Subject: [PATCH] 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 --- wp-admin/includes/comment.php | 8 ++++---- wp-includes/version.php | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/wp-admin/includes/comment.php b/wp-admin/includes/comment.php index 2c621d3315..ffec90c81e 100644 --- a/wp-admin/includes/comment.php +++ b/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. */ diff --git a/wp-includes/version.php b/wp-includes/version.php index e9b7e20565..68889f1fd0 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @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.