From b56df542f2e77fe46c753945a19b67a5b1c182aa Mon Sep 17 00:00:00 2001 From: Konstantin Obenland Date: Wed, 8 Jan 2025 09:59:12 -0600 Subject: [PATCH] Fix function docs --- includes/functions.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/includes/functions.php b/includes/functions.php index a06a09b7f..19d1af2c1 100644 --- a/includes/functions.php +++ b/includes/functions.php @@ -620,7 +620,7 @@ function is_json( $data ) { } /** - * Check whther a blog is public based on the `blog_public` option. + * Check whether a blog is public based on the `blog_public` option. * * @return bool True if public, false if not */ @@ -1071,7 +1071,7 @@ function ( $enclosure ) { * * @param int|\WP_Comment $comment Comment ID or comment object. * - * @return \WP_Comment[] Array of ancestor comments or empty array if there are none. + * @return int[] Array of ancestor IDs. */ function get_comment_ancestors( $comment ) { $comment = \get_comment( $comment );