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

See #55646.

Built from https://develop.svn.wordpress.org/trunk@53814


git-svn-id: http://core.svn.wordpress.org/trunk@53373 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
audrasjb 2022-08-03 10:07:13 +00:00
parent 2692f4a0be
commit ef0c9211ca
2 changed files with 6 additions and 6 deletions

View File

@ -167,7 +167,7 @@ class WP_REST_Posts_Controller extends WP_REST_Controller {
}
/**
* Override the result of the post password check for REST requested posts.
* Overrides the result of the post password check for REST requested posts.
*
* Allow users to read the content of password protected posts if they have
* previously passed a permission check or if they have the `edit_post` capability
@ -441,7 +441,7 @@ class WP_REST_Posts_Controller extends WP_REST_Controller {
}
/**
* Get the post, if the ID is valid.
* Gets the post, if the ID is valid.
*
* @since 4.7.2
*
@ -1492,7 +1492,7 @@ class WP_REST_Posts_Controller extends WP_REST_Controller {
}
/**
* Check whether the template is valid for the given post.
* Checks whether the template is valid for the given post.
*
* @since 4.9.0
*
@ -2141,7 +2141,7 @@ class WP_REST_Posts_Controller extends WP_REST_Controller {
}
/**
* Get the link relations available for the post and current user.
* Gets the link relations available for the post and current user.
*
* @since 4.9.8
*
@ -2629,7 +2629,7 @@ class WP_REST_Posts_Controller extends WP_REST_Controller {
}
/**
* Retrieve Link Description Objects that should be added to the Schema for the posts collection.
* Retrieves Link Description Objects that should be added to the Schema for the posts collection.
*
* @since 4.9.8
*

View File

@ -16,7 +16,7 @@
*
* @global string $wp_version
*/
$wp_version = '6.1-alpha-53813';
$wp_version = '6.1-alpha-53814';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.