mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-05 17:00:03 +00:00
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:
@@ -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.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user