- Timestamp:
- 08/15/2019 09:08:05 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/rest-api/endpoints/class-wp-rest-users-controller.php
r45632 r45811 1179 1179 */ 1180 1180 public function get_item_schema() { 1181 if ( $this->schema ) { 1182 return $this->add_additional_fields_schema( $this->schema ); 1183 } 1184 1181 1185 $schema = array( 1182 1186 '$schema' => 'http://json-schema.org/draft-04/schema#', … … 1335 1339 $schema['properties']['meta'] = $this->meta->get_field_schema(); 1336 1340 1337 return $this->add_additional_fields_schema( $schema ); 1341 $this->schema = $schema; 1342 return $this->add_additional_fields_schema( $this->schema ); 1338 1343 } 1339 1344
Note: See TracChangeset
for help on using the changeset viewer.