From b5b0c8e55042b40c954b580b2e20e75c21b95b06 Mon Sep 17 00:00:00 2001 From: Jb Audras Date: Wed, 3 Aug 2022 10:05:22 +0000 Subject: [PATCH] Docs: Use third-person singular verbs for function descriptions in `WP_REST_Posts_Controller`, as per docblocks standards. See #55646. git-svn-id: https://develop.svn.wordpress.org/trunk@53814 602fd350-edb4-49c9-b593-d223f7449a82 --- .../endpoints/class-wp-rest-posts-controller.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php b/src/wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php index 85af10f5f6..656d1174bc 100644 --- a/src/wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php +++ b/src/wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php @@ -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 *