Make WordPress Core


Ignore:
Timestamp:
08/18/2023 05:44:29 PM (15 months ago)
Author:
johnbillion
Message:

REST API: Correct the docblocks for various permission related methods.

See #58833

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/rest-api/endpoints/class-wp-rest-menu-locations-controller.php

    r53760 r56415  
    121121     *
    122122     * @param WP_REST_Request $request Full details about the request.
    123      * @return WP_Error|bool True if the request has read access for the item, WP_Error object otherwise.
     123     * @return true|WP_Error True if the request has read access for the item, WP_Error object otherwise.
    124124     */
    125125    public function get_item_permissions_check( $request ) {
Note: See TracChangeset for help on using the changeset viewer.