- Timestamp:
- 02/20/2020 04:56:17 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/rest-api/endpoints/class-wp-rest-controller.php
r47122 r47328 345 345 $schema = $this->get_item_schema(); 346 346 347 foreach ( $schema['properties'] as &$property ) { 348 unset( $property['arg_options'] ); 347 if ( ! empty( $schema['properties'] ) ) { 348 foreach ( $schema['properties'] as &$property ) { 349 unset( $property['arg_options'] ); 350 } 349 351 } 350 352
Note: See TracChangeset
for help on using the changeset viewer.