Make WordPress Core


Ignore:
Timestamp:
01/29/2020 12:43:23 AM (4 years ago)
Author:
SergeyBiryukov
Message:

Docs: Improve inline comments per the documentation standards.

Includes minor code layout fixes for better readability.

See #48303.

File:
1 edited

Legend:

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

    r46586 r47122  
    132132            return null;
    133133        }
     134
    134135        return rest_sanitize_value_from_schema( $value, $schema );
    135136    }
     
    295296
    296297        $this->schema = $schema;
     298
    297299        return $this->add_additional_fields_schema( $this->schema );
    298300    }
     
    316318            return $value;
    317319        }
     320
    318321        return rest_parse_request_arg( $value, $request, $param );
    319322    }
     
    337340                    $schema['properties'][ $key ] = $this->set_additional_properties_to_false( $child_schema );
    338341                }
     342
    339343                $schema['additionalProperties'] = false;
    340344                break;
Note: See TracChangeset for help on using the changeset viewer.