Make WordPress Core


Ignore:
Timestamp:
06/30/2021 06:42:59 PM (5 years ago)
Author:
SergeyBiryukov
Message:

Docs: Remove an empty line between @param and @return tags in some newly added REST API methods, per the documentation standards.

Follow-up to [48242], [49925], [51003], [51021].

See #52628, #53461.

File:
1 edited

Legend:

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

    r49955 r51289  
    5050         *
    5151         * @param WP_REST_Request $request Full details about the request.
    52          *
    5352         * @return true|WP_Error True if the request has permission, WP_Error object otherwise.
    5453         */
    … …  
    7170         *
    7271         * @param WP_REST_Request $request Full details about the request.
    73          *
    7472         * @return WP_REST_Response|WP_Error Response object on success, or WP_Error object on failure.
    7573         */
    … …  
    115113         * @param array           $plugin  The plugin metadata.
    116114         * @param WP_REST_Request $request Request object.
    117          *
    118115         * @return WP_REST_Response|WP_Error Response object on success, or WP_Error object on failure.
    119116         */
    … …  
    157154         *
    158155         * @param array $plugin The plugin data from WordPress.org.
    159          *
    160156         * @return array
    161157         */
    … …  
    185181         *
    186182         * @param string $slug The WordPress.org directory slug for a plugin.
    187          *
    188183         * @return string The plugin file found matching it.
    189184         */
Note: See TracChangeset for help on using the changeset viewer.