- Timestamp:
- 01/29/2020 12:43:23 AM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/rest-api/endpoints/class-wp-rest-settings-controller.php
r46586 r47122 132 132 return null; 133 133 } 134 134 135 return rest_sanitize_value_from_schema( $value, $schema ); 135 136 } … … 295 296 296 297 $this->schema = $schema; 298 297 299 return $this->add_additional_fields_schema( $this->schema ); 298 300 } … … 316 318 return $value; 317 319 } 320 318 321 return rest_parse_request_arg( $value, $request, $param ); 319 322 } … … 337 340 $schema['properties'][ $key ] = $this->set_additional_properties_to_false( $child_schema ); 338 341 } 342 339 343 $schema['additionalProperties'] = false; 340 344 break;
Note: See TracChangeset
for help on using the changeset viewer.