- 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-comments-controller.php
r45632 r45811 1216 1216 */ 1217 1217 public function get_item_schema() { 1218 if ( $this->schema ) { 1219 return $this->add_additional_fields_schema( $this->schema ); 1220 } 1221 1218 1222 $schema = array( 1219 1223 '$schema' => 'http://json-schema.org/draft-04/schema#', … … 1365 1369 $schema['properties']['meta'] = $this->meta->get_field_schema(); 1366 1370 1367 return $this->add_additional_fields_schema( $schema ); 1371 $this->schema = $schema; 1372 return $this->add_additional_fields_schema( $this->schema ); 1368 1373 } 1369 1374
Note: See TracChangeset
for help on using the changeset viewer.