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-block-directory-controller.php

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