Make WordPress Core


Ignore:
Timestamp:
06/30/2021 06:42:59 PM (3 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-pattern-directory-controller.php

    r51286 r51289  
    5757     *
    5858     * @param WP_REST_Request $request Full details about the request.
    59      *
    6059     * @return true|WP_Error True if the request has permission, WP_Error object otherwise.
    6160     */
     
    8483     *
    8584     * @param WP_REST_Request $request Full details about the request.
    86      *
    8785     * @return WP_REST_Response|WP_Error Response object on success, or WP_Error object on failure.
    8886     */
     
    205203     * @param object          $raw_pattern A pattern from api.wordpress.org, before any changes.
    206204     * @param WP_REST_Request $request     Request object.
    207      *
    208205     * @return WP_REST_Response
    209206     */
Note: See TracChangeset for help on using the changeset viewer.