- Timestamp:
- 10/24/2017 09:04:50 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/rest-api/endpoints/class-wp-rest-controller.php
r41758 r42000 546 546 } 547 547 548 foreach ( array( 'type', 'format', 'enum', 'items', 'properties' ) as $schema_prop ) {548 foreach ( array( 'type', 'format', 'enum', 'items', 'properties', 'additionalProperties' ) as $schema_prop ) { 549 549 if ( isset( $params[ $schema_prop ] ) ) { 550 550 $endpoint_args[ $field_id ][ $schema_prop ] = $params[ $schema_prop ];
Note: See TracChangeset
for help on using the changeset viewer.