Docs: Use third-person singular verbs in various function descriptions, as per docblocks standards.

Props laurentmagnin, pouicpouic, jbcouton, audrasjb.
See #57840.


git-svn-id: https://develop.svn.wordpress.org/trunk@55681 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Jb Audras
2023-04-24 16:35:17 +00:00
parent 201a30d387
commit 16f9d4d2f9
3 changed files with 19 additions and 19 deletions

View File

@@ -219,7 +219,7 @@ final class WP_Comment {
}
/**
* Convert object to array.
* Converts object to array.
*
* @since 4.4.0
*
@@ -230,7 +230,7 @@ final class WP_Comment {
}
/**
* Get the children of a comment.
* Gets the children of a comment.
*
* @since 4.4.0
*
@@ -302,7 +302,7 @@ final class WP_Comment {
}
/**
* Add a child to the comment.
* Adds a child to the comment.
*
* Used by `WP_Comment_Query` when bulk-filling descendants.
*
@@ -315,7 +315,7 @@ final class WP_Comment {
}
/**
* Get a child comment by ID.
* Gets a child comment by ID.
*
* @since 4.4.0
*
@@ -331,7 +331,7 @@ final class WP_Comment {
}
/**
* Set the 'populated_children' flag.
* Sets the 'populated_children' flag.
*
* This flag is important for ensuring that calling `get_children()` on a childless comment will not trigger
* unneeded database queries.
@@ -345,7 +345,7 @@ final class WP_Comment {
}
/**
* Check whether a non-public property is set.
* Determines whether a non-public property is set.
*
* If `$name` matches a post field, the comment post will be loaded and the post's value checked.
*