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
+6 -6
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.
*
@@ -44,7 +44,7 @@ class WP_Widget_Text extends WP_Widget {
}
/**
* Add hooks for enqueueing assets when registering all widget instances of this widget class.
* Adds hooks for enqueueing assets when registering all widget instances of this widget class.
*
* @param int $number Optional. The unique order number of this widget instance
* compared to other instances of the same class. Default -1.
@@ -340,7 +340,7 @@ class WP_Widget_Text extends WP_Widget {
}
/**
* Inject max-width and remove height for videos too constrained to fit inside sidebars on frontend.
* Injects max-width and removes height for videos too constrained to fit inside sidebars on frontend.
*
* @since 4.9.0
*
@@ -410,7 +410,7 @@ class WP_Widget_Text extends WP_Widget {
}
/**
* Enqueue preview scripts.
* Enqueues preview scripts.
*
* These scripts normally are enqueued just-in-time when a playlist shortcode is used.
* However, in the customizer, a playlist shortcode may be used in a text widget and
@@ -510,7 +510,7 @@ class WP_Widget_Text extends WP_Widget {
}
/**
* Render form template scripts.
* Renders form template scripts.
*
* @since 4.8.0
* @since 4.9.0 The method is now static.