Make WordPress Core

Changeset 53814


Ignore:
Timestamp:
08/03/2022 10:05:22 AM (4 years ago)
Author:
audrasjb
Message:

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

See #55646.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php

    r53813 r53814  
    168168
    169169        /**
    170          * Override the result of the post password check for REST requested posts.
     170         * Overrides the result of the post password check for REST requested posts.
    171171         *
    172172         * Allow users to read the content of password protected posts if they have
    … …  
    442442
    443443        /**
    444          * Get the post, if the ID is valid.
     444         * Gets the post, if the ID is valid.
    445445         *
    446446         * @since 4.7.2
    … …  
    14931493
    14941494        /**
    1495          * Check whether the template is valid for the given post.
     1495         * Checks whether the template is valid for the given post.
    14961496         *
    14971497         * @since 4.9.0
    … …  
    21422142
    21432143        /**
    2144          * Get the link relations available for the post and current user.
     2144         * Gets the link relations available for the post and current user.
    21452145         *
    21462146         * @since 4.9.8
    … …  
    26302630
    26312631        /**
    2632          * Retrieve Link Description Objects that should be added to the Schema for the posts collection.
     2632         * Retrieves Link Description Objects that should be added to the Schema for the posts collection.
    26332633         *
    26342634         * @since 4.9.8
Note: See TracChangeset for help on using the changeset viewer.