Make WordPress Core


Ignore:
Timestamp:
07/02/2021 07:03:11 PM (5 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-plugins-controller.php

    r49955 r51317  
    663663         * @param string $new_status     The plugin's new status.
    664664         * @param string $current_status The plugin's current status.
    665          *
    666665         * @return true|WP_Error
    667666         */
     
    773772         * @param WP_REST_Request $request The request to require the plugin matches against.
    774773         * @param array           $item    The plugin item.
    775          *
    776774         * @return bool
    777775         */
Note: See TracChangeset for help on using the changeset viewer.