--- a/wp/wp-admin/includes/comment.php Thu Sep 29 08:06:27 2022 +0200
+++ b/wp/wp-admin/includes/comment.php Fri Sep 05 18:40:08 2025 +0200
@@ -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 @@
}
/**
- * 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 @@
}
/**
- * 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
*
@@ -197,6 +197,8 @@
}
/**
+ * Enqueues comment shortcuts jQuery script.
+ *
* @since 2.7.0
*/
function enqueue_comment_hotkeys_js() {
@@ -206,7 +208,7 @@
}
/**
- * 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.
*/