Skip to content

Commit

Permalink
Fix function docs
Browse files Browse the repository at this point in the history
  • Loading branch information
obenland committed Jan 8, 2025
1 parent 07a7e08 commit b56df54
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions includes/functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
*/
Expand Down Expand Up @@ -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 );
Expand Down

0 comments on commit b56df54

Please sign in to comment.