WordPress.org

Make WordPress Core


Ignore:
Timestamp:
01/03/2021 10:02:13 PM (11 months 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/class-wp-rest-request.php

    r49329 r49927  
    856856     * @since 4.4.0
    857857     *
    858      * @return bool|WP_Error True if there are no parameters to validate or if all pass validation,
     858     * @return true|WP_Error True if there are no parameters to validate or if all pass validation,
    859859     *                       WP_Error if required parameters are missing.
    860860     */
Note: See TracChangeset for help on using the changeset viewer.