Make WordPress Core


Ignore:
Timestamp:
01/03/2021 10:02:13 PM (4 years ago)
Author:
johnbillion
Message:

Docs: Promote many bool types to true or false where only that value is used.

See #51800

File:
1 edited

Legend:

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

    r49923 r49927  
    427427     *
    428428     * @param WP_REST_Request $request Full details about the request.
    429      * @return bool|WP_Error True if the request has read access for the item, WP_Error object otherwise.
     429     * @return true|WP_Error True if the request has read access for the item, WP_Error object otherwise.
    430430     */
    431431    public function get_item_permissions_check( $request ) {
Note: See TracChangeset for help on using the changeset viewer.