Make WordPress Core


Ignore:
Timestamp:
07/02/2021 07:03:11 PM (3 years ago)
Author:
desrosj
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].

Props SergeyBiryukov.
Merges [51289] to the 5.8 branch.
See #52628, #53461.

Location:
branches/5.8
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/5.8

  • branches/5.8/src/wp-includes/rest-api/endpoints/class-wp-rest-pattern-directory-controller.php

    r51316 r51317  
    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.