WordPress.org

Make WordPress Core


Ignore:
Timestamp:
06/30/2021 06:42:59 PM (5 months 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-templates-controller.php

    r51221 r51289  
    146146     *
    147147     * @param WP_REST_Request $request The request instance.
    148      *
    149148     * @return WP_REST_Response
    150149     */
     
    157156            $query['area'] = $request['area'];
    158157        }
     158
    159159        $templates = array();
    160160        foreach ( get_block_templates( $query, $this->post_type ) as $template ) {
     
    184184     *
    185185     * @param WP_REST_Request $request The request instance.
    186      *
    187186     * @return WP_REST_Response|WP_Error
    188187     */
     
    406405     * @param WP_Block_Template $template Template instance.
    407406     * @param WP_REST_Request   $request Request object.
    408      *
    409407     * @return WP_REST_Response $data
    410408     */
Note: See TracChangeset for help on using the changeset viewer.