Skip to content

Commit 1293380

Browse files
authored
Fix function docs (#1138)
1 parent 07a7e08 commit 1293380

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

includes/functions.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -620,7 +620,7 @@ function is_json( $data ) {
620620
}
621621

622622
/**
623-
* Check whther a blog is public based on the `blog_public` option.
623+
* Check whether a blog is public based on the `blog_public` option.
624624
*
625625
* @return bool True if public, false if not
626626
*/
@@ -1071,7 +1071,7 @@ function ( $enclosure ) {
10711071
*
10721072
* @param int|\WP_Comment $comment Comment ID or comment object.
10731073
*
1074-
* @return \WP_Comment[] Array of ancestor comments or empty array if there are none.
1074+
* @return int[] Array of ancestor IDs.
10751075
*/
10761076
function get_comment_ancestors( $comment ) {
10771077
$comment = \get_comment( $comment );

0 commit comments

Comments
 (0)