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

    r49693 r49927  
    444444     * @param object          $object  Data model like WP_Term or WP_Post.
    445445     * @param WP_REST_Request $request Full details about the request.
    446      * @return bool|WP_Error True on success, WP_Error object if a field cannot be updated.
     446     * @return true|WP_Error True on success, WP_Error object if a field cannot be updated.
    447447     */
    448448    protected function update_additional_fields_for_object( $object, $request ) {
Note: See TracChangeset for help on using the changeset viewer.