- Timestamp:
- 10/31/2016 01:47:36 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/rest-api/endpoints/class-wp-rest-controller.php
r39021 r39046 560 560 } 561 561 562 foreach ( array( 'type', 'format', 'enum' ) as $schema_prop ) {562 foreach ( array( 'type', 'format', 'enum', 'items' ) as $schema_prop ) { 563 563 if ( isset( $params[ $schema_prop ] ) ) { 564 564 $endpoint_args[ $field_id ][ $schema_prop ] = $params[ $schema_prop ];
Note: See TracChangeset
for help on using the changeset viewer.